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: "Access-Control-Allow-Origin" #40

Open
thesuperzapper opened this issue Jan 30, 2017 · 1 comment
Open

CORS: "Access-Control-Allow-Origin" #40

thesuperzapper opened this issue Jan 30, 2017 · 1 comment

Comments

@thesuperzapper
Copy link

Is there currently support for adding the "Access-Control-Allow-Origin" header to the REST API requests? Nearly all modern browsers are set to block those sorts of requests without that header.

(Obviously this is ignoring JSONP, which has its share of security concerns.)

@gsunner
Copy link
Contributor

gsunner commented Feb 1, 2017

There is no support for CORS at present, its something we could add in the future.
Calls from javascript can use JSONP by passing a jsonpCallback.
see http://docs.seldon.io/api-javascript.html

Hope this helps.

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

No branches or pull requests

2 participants