Skip to content
This repository was archived by the owner on Mar 31, 2018. It is now read-only.
This repository was archived by the owner on Mar 31, 2018. It is now read-only.

Modify CORS to allow single "Methods" header #223

@baohx2000

Description

@baohx2000

Description

Currently, our CORS service injects 2 Access-Control-Allow-Methods headers if there are multiple methods for an endpoint. Hipache inconveniently throws one of them away.

Add a CorsServiceProvider based on the current package, but where it adds the above header, just implode the allowed methods with a comma.

Details

  • Credentials: {{username / password (remove if not applicable)}}
  • URL: {{url where problem occurs, remove if not applicable}}
  • Note: {{relevant information like related issues, remove if not applicable}}
  • Console Error: {{expand and copy from the console (include line error too), remove if not applicable}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions