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 2005/09/12 02:32:26 UTC

DO NOT REPLY [Bug 36600] - GetMothod returns to port 80

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36600>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36600





------- Additional Comments From jain.samit@gmail.com  2005-09-12 02:32 -------
Hi Thom,

>> Then, using GetMethod, I pass in a relative path to a file on that host, 
>> here's what I see in the log...

Can you make sure that you provide a relative path name (e.g., /path) to the
GetMethod constructor and not the absolute host name with default port (e.g.
www.host.com/path). Since if the uri in GetMethod is specified as absolute host
name, then HttpClient will take connection params from the GetMethod instead of
HttpClient conn params for this http request.

Samit.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org