Skip to content

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

Closed

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.

Activity

  1. added
    documentationImprovements or additions to documentation
    triagePending triage from maintainers
    on May 3, 2024
  2. boring-cyborg commented on May 3, 2024

    @boring-cyborg

    Thanks for opening your first issue here! We'll come back to you as soon as we can.
    In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

  3. github-actions commented on May 6, 2024

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    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.

  4. moved this from Coming soon to Shipped in Powertools for AWS Lambda (Python)on Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions