Thrift-1656: Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource...
authorJake Farrell <jfarrell@apache.org>
Wed, 22 Aug 2012 02:57:07 +0000 (02:57 +0000)
committerJake Farrell <jfarrell@apache.org>
Wed, 22 Aug 2012 02:57:07 +0000 (02:57 +0000)
commitafd3ab2714fd3a5736dd86a193b800bb0a9a5f37
tree87c5fd0a11c4352fb415faf3d5c017f03a283cfd
parent2853cc0adffae223e0861524eb8e23af03b7a19b
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.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375883 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/thrift/transport/THttpServer.cpp