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
{{ message }}
Repository navigation
Feature request: Add new decorator to support HEAD verb on REST API #4264
I am creating a REST API on API Gateway and would like to implement the HEAD method
Solution/User Experience
I would like to be able to use @app.head("/sources") to decorate my function method in exactly the same way that i can use @app.get("/sources") to decorate a GET request.
Alternative solutions
I am currently using the route option `@app.route("/sources", method=["HEAD"])` which works fine but it would be nice to support HEAD in the same way as the other verbs you currently support.
Thank you!
Activity
github-actions commentedon May 6, 2024
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.