Skip to content

Gateway API validations too strict for redirect status codes #2748

Open
@JackStromberg

Description

@JackStromberg

What happened:
Gateway API has validations that only account for 301 and 302 HTTP Redirects.

// +kubebuilder:validation:Enum=301;302

What you expected to happen:
RFC 2616 defines several other redirects, including: 303, 304, 305, and 307.

Anything else we need to know?:
Ask would be to align enum validations to RFC2616 section 10.3

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions