You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Shantanu Choudhary (JIRA)" <ji...@apache.org> on 2012/07/25 05:45:35 UTC
[jira] [Updated] (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 ]
Shantanu Choudhary updated THRIFT-1656:
---------------------------------------
Attachment: thrift-0.9-http-headers-fix.patch
Patch for fixing Http Response header, to allow Cross Origin Resource Sharing by js based client.
> 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
> 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