Support HEAD Requests #14
Labels
No labels
Kind/Bug
Kind/Enhancement
Kind/Feature
Project/Lander
Project/Landerctl
idea
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lander#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.