Skip to content

Feature Request: Terminating preflight options requests  #6

@sripberger

Description

@sripberger

When it comes to preflight OPTIONS requests, the only thing the browser really cares about is the access control headers. If we're making HAProxy responsible for handling all of these headers, it makes sense that it could also terminate the request, without needing to forward it through to an underlying api server.

This is something I know is possible with NGINX but I'm having a hard time finding information about how to do it with HAProxy. It would be nice if this library had some way of handling it, though barring that, some assistance in scripting it myself-- or even insight into whether or not this kind of thing is even possible with HAProxy-- would be super helpful.

Thanks ahead of time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions