-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8
-
Fix Version/s: 0.9.1
-
Component/s: C++ - Library
-
Labels:None
-
Environment:
Linux
As per part of "Preflighted requests" chrome sends Options request to server to know what methods are allowed[1]. But on server side(THttpServer.cpp), during reading header and parseStatusLine, we have handling for just POST, and hence request is not completed and server throws "Bad Status (unsupported method): OPTIONS" error.
[1]. http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/