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: Cannot retry request with a non-repeatable request entity.
Date Thu, 02 Oct 2014 07:33:27 GMT
On Tue, 2014-09-30 at 16:48 -0400, Jamie Jackson wrote:
> Please help me get over this obstacle:
> 
> Stack trace and (ColdFusion) snippet: https://gist.github.com/jamiejackson
> 
> (This is an attempt to get Solrj to perform a deleteByQuery
> with ConcurrentUpdateSolrServer using basic authentication. I am a noob
> with the entire Solrj and HTTPClient stack. )
> 
> Please let me know if you need more info.
> 
> Thanks,
> Jamie

Jamie
This question should have probably been addressed to Solrj community.
>From the HC standpoint you have three options
(1) make request entity repeatable
(2) force authentication by doing a GET prior to doing PUT or POST
(3) use 'expect-continue' handshake on the client side if the handshake
is supported by the server side.

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