On Mon, 2014-01-13 at 20:26 +0000, Boxer, Aaron wrote:
> Well, I've got everything ported over, except for one line:
> 
> 
> HttpProtocolParams.setExpectContinue(false);
> 
> How do I set this parameter in the new architecture?
> 

RequestConfig config = RequestConfig.custom()
        .setExpectContinueEnabled(true)
        .build();
HttpGet get = new HttpGet("/stuff");
get.setConfig(config);

Oleg



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

Reply via email to