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=37988>. 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=37988 ------- Additional Comments From [EMAIL PROTECTED] 2006-03-23 11:22 ------- > Hello Tommy, > > > HttpClient is not capable of issuing the following HTTP request "GET > > ftp://user:[EMAIL PROTECTED]/ HTTP/1.1" despite the fact that this is valid > > according to RFC2616. > > This bug was opened because a user could not send this kind of request. > It was closed because the same user confirmed that is is now possible, > see comment #7. > > Your test uses the String constructor of GetMethod from uri.toString(). > If you pass your string directly into the constructor instead of first > putting it into a URI and then creating a new string, it should work. > It should also work if you set the uri with the HttpMethod.setURI(...) > method instead of calling uri.toString() for the String constructor. > That gives you at least two options to achieve the desired result. > > cheers, > Roland Hello Roland, Thanks for your reply. Teh fact that the test is constructed this way is to show that the credentials are really lost when converting to/from URI's. Besides, the real issue is the fact that HttpMethod#generateRequestLine() doesn't place a complete absoluteURI as defined in RFC 2616 sec 5.1.2. This in turn is because the HttpHost doesn't contain an authority, although it should create one, when an absloluteURI is requested via a Proxy. Regards, Tommy -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
