[
https://issues.apache.org/jira/browse/THRIFT-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manav Raghuwanshi updated THRIFT-4322:
--------------------------------------
Description:
I'm trying to call from C++ into a HTTP Thrift server (using Java TServlet)
where the servlet is secured with HTTP basic auth. The C++ THttpClient doesn't
appear to support the Authentication header, or the ability to add custom
headers. The headers it sends in the request are hard coded in
THttpClient::flush(), with no ability to add custom defined headers.
Other languages already support this, including Java, JavaScript, Go Lang (at
least from JavaDocs and other logged JIRA issues this appears to be the case).
Could we get the feature added in the C++ library?
I cloned this because the old issue had not been updated for a long time and it
didn't seem like it would anytime soon.
was:
I'm trying to call from C++ into a HTTP Thrift server (using Java TServlet)
where the servlet is secured with HTTP basic auth. The C++ THttpClient doesn't
appear to support the Authentication header, or the ability to add custom
headers. The headers it sends in the request are hard coded in
THttpClient::flush(), with no ability to add custom defined headers.
Other languages already support this, including Java, JavaScript, Go Lang (at
least from JavaDocs and other logged JIRA issues this appears to be the case).
Could we get the feature added in the C++ library?
> CLONE - Add custom HTTP header support to THttpClient / THttpTransport
> ----------------------------------------------------------------------
>
> Key: THRIFT-4322
> URL: https://issues.apache.org/jira/browse/THRIFT-4322
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9.2, 0.9.3, 0.10.0
> Reporter: Manav Raghuwanshi
>
> I'm trying to call from C++ into a HTTP Thrift server (using Java TServlet)
> where the servlet is secured with HTTP basic auth. The C++ THttpClient
> doesn't appear to support the Authentication header, or the ability to add
> custom headers. The headers it sends in the request are hard coded in
> THttpClient::flush(), with no ability to add custom defined headers.
> Other languages already support this, including Java, JavaScript, Go Lang (at
> least from JavaDocs and other logged JIRA issues this appears to be the case).
> Could we get the feature added in the C++ library?
> I cloned this because the old issue had not been updated for a long time and
> it didn't seem like it would anytime soon.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)