You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to directly talk to Orion from Javascript in browsers. This opens the door to many exciting uses, but it is inherently "cross domain" as far as the browser is concerned.
Unfortunately when a browser such as Chrome tries to do a PUT against Orion, it first does an OPTIONS request to find the allowed verbs (preflighting). Orion 1.0.0 responds with a list of verbs that does not include PUT. Therefore, when running over HTTP, one has to completely replace the entity every time using a POST.
In addition, when running Orion over HTTPS, connection is not possible. Orion would need to offer
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS
Currently we need to have a thin proxy in front of Orion to handle rewriting of headers.
It would be very convenient if Orion had options to allow the above.
The text was updated successfully, but these errors were encountered:
We're trying to directly talk to Orion from Javascript in browsers. This opens the door to many exciting uses, but it is inherently "cross domain" as far as the browser is concerned.
Unfortunately when a browser such as Chrome tries to do a PUT against Orion, it first does an OPTIONS request to find the allowed verbs (preflighting). Orion 1.0.0 responds with a list of verbs that does not include PUT. Therefore, when running over HTTP, one has to completely replace the entity every time using a POST.
In addition, when running Orion over HTTPS, connection is not possible. Orion would need to offer
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS
Currently we need to have a thin proxy in front of Orion to handle rewriting of headers.
It would be very convenient if Orion had options to allow the above.
The text was updated successfully, but these errors were encountered: