Skip to content

Cannot use 307/308 for HTTPRequestRedirectPolicy StatusCode #6788

@billyjs

Description

@billyjs

What steps did you take and what happened:
When using HTTPRequestRedirectPolicy in HTTPProxy you can only set the StatusCode to 301 or 302 but cannot use 307 or 308 for preserving the HTTP method.

What did you expect to happen:
307 and 308 values are allowed.

Environment:

  • Contour version: 1.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/needs-triageIndicates that an issue needs to be triaged by a project contributor.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions