You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2012/08/22 04:59:38 UTC

[jira] [Closed] (THRIFT-1656) Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can work.

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

Jake Farrell closed THRIFT-1656.
--------------------------------

    Resolution: Fixed
      Assignee: Shantanu Choudhary

committed
                
> Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can work.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1656
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1656
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>         Environment: linux
>            Reporter: Shantanu Choudhary
>            Assignee: Shantanu Choudhary
>              Labels: patch
>             Fix For: 0.9
>
>         Attachments: thrift-0.9-http-headers-fix.patch
>
>
> We have to set headers from server side, in the response, so that Javascript can handle Cross-site HTTP requests on FireFox[1]. 
> [1]https://developer.mozilla.org/en/HTTP_access_control

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira