On Thu, 2014-09-25 at 13:36 +0700, Maxim Solodovnik wrote:
> Hello All,
> 
> I have couple of questions according migration to client 4.3
> 1) Is it possible to created client operating Http_1_1? It is possible to
> set protocol version for each request, but I would like to tell client to
> work over protocol version 1.1. (was previously possible)

---
HttpGet httpGet = new HttpGet("https://host/stuff";);
httpGet.setProtocolVersion(HttpVersion.HTTP_1_0);
---

> 2) Is there any example of setting "strict-transfer-encoding"? The one I
> found here [1] seems to be outdated and requires too much code comparing to
> previous version
> 

A lot of marginally useful parameters got deprecated including the so
called "strict-transfer-encoding" parameter. Custom content length
strategy is the way to go.

Oleg 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to