-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support CORS #121
Comments
This gave me a lot of pain recently, so +1
Research Engineer, EURECOM, France | SMIEEE | @skdatta2010 |
http://iot.eurecom.fr/
Quoting Michael McCool <notifications@github.com>:
… Consider adding metadata about whether a Thing supports CORS, which
enables use of the device from a browser.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#121
-------------------------------------------------------------------------------
This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
|
It would be helpful to have some use cases for when we need to modify the default CORS behavior. I think this is probably most relevant to using a browser as a UI to a Thing, and in particular when a single browser session is being used to control multiple devices. |
What I'm wondering about is whether this is something that should be in the protocol binding for HTTP: should IoT devices ALWAYS allow connections to devices from other origins? What are the exact use cases? See: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS |
Consider adding metadata about whether a Thing supports CORS, which enables use of the device from a browser.
The text was updated successfully, but these errors were encountered: