Closed
Description
Use case
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!
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped