Hi guys,
I am trying to make a cross-domain ajax request. The problem comes when
i try to POST .
Then Firefox makes “preflighted” request to see if it is OK to go
ahead.
Here is the request :
I don’t think i understand what you say…
I don’t have any backend. This is clean nginx install( no fast-cgi or
what so ever) with http_push module.
Actually i am able to get the messages , but not post one.
All this works if i don’t use cross-domain requests (but then no OPTIONS
request is made).
I’m saying that response you presented wasn’t send by nginx (core)
itself.
I don’t have any backend. This is clean nginx install( no fast-cgi or
what so ever) with http_push module.
This is very important information, that you didn’t bother to mention
earlier… And as it turns out, that response was produced by
nginx_http_push_module, so you should probably contact its author and
ask
him if your particular use case is supported (because it seems that this
module supports at least some OPTIONS requests).