You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though actually, this is incomplete; a GET route should also register a HEAD route in enumerateEndpoints, and the WAI verb should be used in preference to the route verb in the result of getEndpoint.
The text was updated successfully, but these errors were encountered:
Servant responds to
HEAD
requests with the result of theGET
path (minus the body), since haskell-servant/servant@050aa21If the WAI verb is
HEAD
, and the path verb isGET
, this path should match.e.g.
Though actually, this is incomplete; a
GET
route should also register aHEAD
route inenumerateEndpoints
, and the WAI verb should be used in preference to the route verb in the result ofgetEndpoint
.The text was updated successfully, but these errors were encountered: