hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpPost is being retried
Date Wed, 09 Mar 2011 19:54:55 GMT
On Wed, 2011-03-09 at 15:14 +0100, Martin Ždila wrote:
> On Wed, Mar 9, 2011 at 3:02 PM, Razvan Mihailescu <
> razvan.mihailescu@computaris.com> wrote:
> 
> > You may need to implement your own HttpRequestRetryHandler, as the one
> > provided by default by http-client does a number of retries by default -
> > DefaultHttpRequestRetryHandler.
> > You will need to set the new retry handler property on your HttpClient. See
> > AbstractHttpClient setHttpRequestRetryHandler method.
> >
> 
> Thanks for your answer. I am aware that I can somehow configure it (now I
> know I have to implement my own HttpRequestRetryHandler) but I would expect
> that DefaultHttpClient works like standards say: not to retry POST method.
> This should be default behavior of the DefaultHttpClient without any extra
> configuration. But I may be wrong. If so, please tell me why.
> 

Corrected in 4.1. Please upgrade.

Oleg



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


Mime
View raw message