[
https://issues.apache.org/jira/browse/LIVY-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal updated LIVY-444:
----------------------------
Fix Version/s: 0.10.0
(was: 0.9.0)
This issue has been moved to the 0.10.0 release as part of a bulk update. If
you feel this is moved out inappropriately, feel free to provide justification
and reset the Fix Version to 0.9.0.
> Add OPTIONS routes to REST API to enable CORS pre-flight requests
> -----------------------------------------------------------------
>
> Key: LIVY-444
> URL: https://issues.apache.org/jira/browse/LIVY-444
> Project: Livy
> Issue Type: Improvement
> Reporter: Zachary King
> Priority: Major
> Fix For: 0.10.0
>
>
> Currently, when one tries to send a POST request to the Livy REST API using a
> JavaScript client, any CORS pre-flight requests fail because the Livy REST
> API does not have routes to handle OPTIONS requests.
> I recommend adding routes for OPTIONS requests to respond with a header to
> allow all origins, or have this header be configurable in the
> `livy-client.conf` (perhaps in a setting like
> `livy.client.http.allowed-origins`).
> If this is an improvement that is agreed on, can I take a stab at it?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)