Try:
params.setParameter("http.protocol.expect-continue",false);
I'm pretty sure I read that it's enabled by default in 4.0, but is
changing to be disabled by default in an upcoming version.
Thanks,
Sam
2009/12/17 Juanjo <[email protected]>:
> Hi,
>
> I am receiving this header from a server
>
> HTTP/1.0 - 417 Expectation failed
>
> How can I solve this from my client?
>
> How can I remove header Expect: 100-Continue?
>
> I used:
>
> HttpParams params = new BasicHttpParams();
> params.setParameter ("http.protocol.handle-redirects",false);
>
> but it doesn't work.
>
>
> Thanks in advance
>
> JJ
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]