You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Armando Antón <ar...@newknow.com> on 2003/01/20 11:16:43 UTC

Bug 12798

Can someone review the bug 12798?

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

i have added more info to that bug and i think it is an important bug related to how the request info is sent (generateRequestLine method) when the path or the query has got special characters that must be encoded. I have removed the encoded call in that method and things works fine for me, but i think that this problem is related to the uris problem and perhaps it would be a great idea to add new constructors to the XXXMethod (like GetMethod) using the URI as parameter

When i say it is related to the URI problem, i refer to distinguish when you must use the String constructor (unescaped uri) or the char[] constructor(escaped uri) of the URI class. When using a XXXMethod to connect to a web server, you use the string constructor of the XXXMethod that uses the String constructor of the URI class so everyone must be careful and know that the string is an unescaped representation of the resource that wants to be requested

if more info is need then i will post an appropiate flow 

Thanks

Armando