GitHub user tstanev opened a pull request:
https://github.com/apache/thrift/pull/378
Set Content-Type for HTTP request in Node.js wrapper. Done similar to th...
...e Python wrapper here:
https://github.com/apache/thrift/blob/master/lib/py/src/transport/THttpClient.py#L127
Without this header, connecting to some servers results in error response.
(THRIFT-2998)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tstanev/thrift adsk/nodejs_header
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/378.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #378
----
commit 0056ba8e1093b4bdde504d4f7bedc4874756f931
Author: stanevt <[email protected]>
Date: 2015-02-13T15:45:59Z
Set Content-Type for HTTP request in Node.js wrapper. Done similar to the
Python wrapper here
https://github.com/apache/thrift/blob/master/lib/py/src/transport/THttpClient.py#L127
.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---