You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/04/23 17:02:13 UTC
DO NOT REPLY [Bug 19250] New: -
The PostMethod did not bring back response headers from proxy servers
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19250>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19250
The PostMethod did not bring back response headers from proxy servers
Summary: The PostMethod did not bring back response headers from
proxy servers
Product: Commons
Version: 2.0 Beta 1
Platform: PC
OS/Version: Other
Status: NEW
Severity: Critical
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: bin.chen@sabre-holdings.com
Description:
When doing tunnelling through proxy servers, in case of 407 response, the
wrapper class ConnectMethod failed to pass the response header back to the
wrapped method (PostMethod in our case). As result, the response headers are
not passed back to the application.
Proposed Fix:
Change the ConnectMethod to use the wrapped method instance to get response
headers. It will be reinitialized again if "CONNECT" is successful.
Also have to modify the addProxyAuthorizationRequestHeader code to use the
wrapped method for the authenticator to work.