thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-2998) Node.js: Missing header from http request
Date Thu, 14 Dec 2017 13:56:11 GMT

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

James E. King, III closed THRIFT-2998.
--------------------------------------

> Node.js: Missing header from http request
> -----------------------------------------
>
>                 Key: THRIFT-2998
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2998
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.9.2
>            Reporter: Traian Stanev
>            Assignee: James E. King, III
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> The "Content-Type" header is not being set to "application/x-thrift" when making http
requests in the node.js implementation. This results in error response (status 400) for any
such connections (depending on whether the server checks the header). The Python implementation
for example adds the header explicitly:
> https://github.com/tstanev/thrift/blob/master/lib/py/src/transport/THttpClient.py#L127



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message