hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: DefaultRedirectStrategy Location encoding problem
Date Wed, 04 Feb 2015 17:48:10 GMT
On Tue, 2015-02-03 at 12:34 -0700, hcx wrote:
> I see that the problem is probably caused by
> HttpRequestBase.getRequestLine(), which uses URI.toASCIIString(), which
> causes "รข" to be changed to "%C3%A2". So it's not really limited to
> DefaultRedirectStrategy. I'm not sure if toASCIIString() is the correct
> encoding to use for the HTTP request line, or whether toASCIIString()
> produces the correct encoding.
> 

Yes, it is correct.

Oleg



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


Mime
View raw message