Skip to content

Docs: Improved clarity on options for "different" HTTP verbs #4263

Closed
@danjhd

Description

@danjhd

What were you searching in the docs?

The ability to support a HEAD request in an API Gateway REST API.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#http-methods

How can we improve?

There is already a section in the docs that shows how multiple verbs can be handled by a single function. This same syntax will allow the support for verbs (such as HEAD) that do not have their own dedicated decorator.
It might be nice to draw attention to this option in this section of the docs.

Got a suggestion in mind?

No response

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions