Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS functionality per channel #646

Open
BMartinos opened this issue Mar 1, 2016 · 3 comments
Open

CORS functionality per channel #646

BMartinos opened this issue Mar 1, 2016 · 3 comments

Comments

@BMartinos
Copy link
Collaborator

Add CORS functionality on a per channel basis to allow for when request come from a browser

@mhawila
Copy link
Contributor

mhawila commented Sep 11, 2020

Why is this not added yet?

@rcrichton
Copy link
Member

Hi, this is an open source project if you feel strongly about this issue we we would be happy to review a pull request that solves it. Do you have a specific use that you need this for?

@mhawila
Copy link
Contributor

mhawila commented Sep 11, 2020

Hi, this is an open source project if you feel strongly about this issue we we would be happy to review a pull request that solves it. Do you have a specific use that you need this for?

Sure, I mean standard browser cross origin requests always pre-send an OPTION preflight request before sending the actual one. So this will be a very useful workaround if the server providing the API does not properly implement the COR specification. Not only that but also one can easily shift the IP management to OpenHIM instead of some server configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants