Juanjo wrote:
Great !!
Thanks
JJ
-----Mensaje original-----
De: Sam Crawford [mailto:[email protected]]
Enviado el: jueves, 17 de diciembre de 2009 20:39
Para: HttpClient User Discussion
Asunto: Re: HTTP/1.0 - 417 Expectation failed
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
JJ,
Since the target server appears to support HTTP/1.0 only, you should
configure HttpClient to use HTTP/1.0 as well. This will also effectively
disable the use of 'expect-continue' handshake.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]