-
Notifications
You must be signed in to change notification settings - Fork 1.5k
GET_OR_HEAD method #2414
Copy link
Copy link
Closed
Labels
Description
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
Reactions are currently unavailable