Skip to content

GET_OR_HEAD method #2414

@tomakehurst

Description

@tomakehurst

Proposal

A very common behaviour in real web servers is for a HEAD request to return the same header info as for the equivalent GET request, minus the body. This often includes the Content-Length.

Add a GET_OR_HEAD method, which will match either method and return the correct header information when HEAD is used.

References

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions