... > The point is why if I write the url in a browser > works fine, but when I use httpclient doesn't.
Because browsers do much much more than http communication libraries (and possibly even more than they really should do...). In this case, browser probably quietly fixes the erroneous thing you give it before sending it, so that the real URL sent is not quite what you typed. Just as browsers fix all kinds of bad HTML before displaying it. -+ Tatu +- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]