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:43:36 UTC
[jira] [Created] (THRIFT-1656) Setting proper headers in
THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can
work.
Shantanu Choudhary created THRIFT-1656:
------------------------------------------
Summary: 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
Fix For: 0.9
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
[jira] [Closed] (THRIFT-1656) Setting proper headers in
THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can
work.
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (THRIFT-1656) Setting proper headers in
THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can
work.
Posted by "Shantanu Choudhary (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (THRIFT-1656) Setting proper headers in
THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can
work.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439260#comment-13439260 ]
Hudson commented on THRIFT-1656:
--------------------------------
Integrated in Thrift #520 (See [https://builds.apache.org/job/Thrift/520/])
Thrift-1656: Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can work.
Client: cpp
Patch: Shantanu Choudhary
Set headers from server side, in the response, so that Javascript can handle Cross-site HTTP requests. (Revision 1375883)
Result = SUCCESS
> 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