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

Support Cross-Origin resource in http/rest module #218

Closed
lukas-vlcek opened this issue Jun 9, 2010 · 1 comment
Closed

Support Cross-Origin resource in http/rest module #218

lukas-vlcek opened this issue Jun 9, 2010 · 1 comment

Comments

@lukas-vlcek
Copy link
Contributor

There is a known issue with Firefox sending extra OPTIONS request first when XHR POST request is created and executed (http://stackoverflow.com/questions/1099787/jquery-ajax-post-sending-options-as-request-method-in-firefox/2865924#2865924). This is causing problems with all POST requests in ES REST API sent from FF.

Moreover, current implementation in ES is causing OPTIONS requests to fall back to GET requests (see NettyHttpRequest.method()) which results in "No handler found for uri [request.uri()] and method [GET]".

As far as I understand it is important to respond with "Access-Control-Allow-Origin: *" to OPTIONS requests.

@kimchy
Copy link
Member

kimchy commented Jul 19, 2010

Support Cross-Origin resource in http/rest module, closed by 5f0470d.

ClaudioMFreitas pushed a commit to ClaudioMFreitas/elasticsearch-1 that referenced this issue Nov 12, 2019
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
close elastic#218

(cherry picked from commit 81dd5db22dc24a18fc0c23bba8b64f34b170d914)
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
Parameterize EMS healthcheck timeout

Allows devs to set these higher in tfvars for development

Approved-by: Andre Sodermans
costin pushed a commit that referenced this issue Dec 6, 2022
🤖 ESQL: Merge upstream
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants