-----Original Message-----
From: Oleg Kalnichevski [mailto:[email protected]]
Sent: Tuesday, January 14, 2014 5:52 AM
To: HttpClient User Discussion
Subject: Re: porting to 4.3
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);
Thanks, Oleg.
This e-mail may contain confidential and/or privileged information for the sole
use of the intended recipient.
Any review or distribution by anyone other than the person for whom it was
originally intended is strictly prohibited.
If you have received this e-mail in error, please contact the sender and delete
all copies.
Opinions, conclusions or other information contained in this e-mail may not be
that of the organization.