Support HEAD Requests #14
Labels
No Label
Kind/Bug
Kind/Enhancement
Kind/Feature
Project/Lander
Project/Landerctl
idea
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lander#14
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently we don't support HEAD requests at all (we return 501). This could be useful to implement, as I also often use this feature in other tools.
We might be able to transparently support HEAD requests for GET requests by only running the request steps if it's a HEAD request, and only writing the headers then. This would require the application to determine all of the required response data in the request state, but for Lander, this is already the case anyways. A good idea for this would perhaps be to hide writing of headers from the response routes.