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

Modify CORS to allow single "Methods" header #223

Open
baohx2000 opened this issue Jul 21, 2015 · 0 comments
Open

Modify CORS to allow single "Methods" header #223

baohx2000 opened this issue Jul 21, 2015 · 0 comments

Comments

@baohx2000
Copy link
Contributor

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}}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant