[ 
https://issues.apache.org/jira/browse/THRIFT-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Meier resolved THRIFT-1657.
---------------------------------

    Resolution: Fixed

committed
                
> Chrome browser sending OPTIONS method before POST in xmlHttpRequest
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1657
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1657
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>         Environment: Linux
>            Reporter: Shantanu Choudhary
>            Assignee: Roger Meier
>             Fix For: 1.0
>
>         Attachments: thrift-0-9-preflight-request.patch
>
>
> 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/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to