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

Add support for CORS on the server #521

Closed
nodirt opened this issue Feb 2, 2016 · 4 comments
Closed

Add support for CORS on the server #521

nodirt opened this issue Feb 2, 2016 · 4 comments

Comments

@nodirt
Copy link

nodirt commented Feb 2, 2016

Please add support for CORS, so that a developer can control Access-Control-Allow-Origin header in responses.

Context: we are planning to make RPCs from a browser (javascript), from a different origin.

Thanks.

@bradfitz
Copy link
Contributor

bradfitz commented Feb 5, 2016

You can do this yourself once #75 and #514 land.

@hsaliak
Copy link

hsaliak commented May 17, 2017

#75 and #514 have landed, if this is still an issue, @nodirt please reopen.

@hunnain
Copy link

hunnain commented Sep 23, 2018

Can you tell me how i request grpc server from browser whenever i called browser give me an error of cross origin i have seen 75 and 514 but didn't understand

@menghanl
Copy link
Contributor

@hunnain For browser support, please take a look at https://github.com/grpc/grpc-web

@lock lock bot locked as resolved and limited conversation to collaborators Mar 23, 2019
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

5 participants