hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpParams in HttpClient 4.3-alpha1
Date Mon, 11 Feb 2013 16:18:58 GMT
On Mon, 2013-02-11 at 16:54 +0100, Fran├žois-Xavier Bonnet wrote:
> My test is:
> 
>          HttpClient httpClient = new DefaultHttpClient();
>          HttpUriRequest request = new HttpGet(
>                  "http://localhost:8080/");
>          request.getParams().setParameter(ClientPNames.COOKIE_POLICY,
>                  CookiePolicy.BROWSER_COMPATIBILITY);
>          HttpResponse response = httpClient.execute(request);
> 
> In HttpClient 4.2.3 BrowserCompatSpec is used but in 4.3 it is BestMatchSpec
> 
> HttpClientParamConfig is used only if I build my HttpClient the new way 
> (using HttpClientBuilder).
> 
> Do we consider it as a bug?

Certainly a bug. Try this patch out. If it fixes the problem for you
feel free to commit it to SVN trunk.

Oleg



Mime
View raw message