hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o...@ok2consulting.com>
Subject Re: Expect-continue doesn't seem operative using 4.3.x builder structures
Date Wed, 21 May 2014 14:23:51 GMT
On Wed, 2014-05-21 at 10:01 -0400, Karl Wright wrote:
> Hi Oleg,
> 
> Here are the headers it sends in our case.  This is 4.3.3.
> 
> >>>>>>
> 
> DEBUG 2014-05-21 15:28:39,630 (Thread-449) - http-outgoing-6 >> POST
> /solr/uio/update?wt=xml&version=2.2 HTTP/1.1
> DEBUG 2014-05-21 15:28:39,630 (Thread-449) - http-outgoing-6 >>
> User-Agent: Solr[org.apache.solr.client.solrj.impl.HttpSolrServer] 1.0
> DEBUG 2014-05-21 15:28:39,630 (Thread-449) - http-outgoing-6 >>
> Transfer-Encoding: chunked
> DEBUG 2014-05-21 15:28:39,630 (Thread-456) - http-outgoing-5 >> POST
> /solr/uio/update/extract HTTP/1.1
> DEBUG 2014-05-21 15:28:39,631 (Thread-449) - http-outgoing-6 >>
> Content-Type: application/xml; charset=UTF-8
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> Content-Charset: UTF-8
> DEBUG 2014-05-21 15:28:39,631 (Thread-449) - http-outgoing-6 >> Host:
> solr-test01.uio.no:443
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> User-Agent: Solr[org.apache.solr.client.solrj.impl.HttpSolrServer] 1.0
> DEBUG 2014-05-21 15:28:39,631 (Thread-449) - http-outgoing-6 >>
> Connection: Keep-Alive
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> Transfer-Encoding: chunked
> DEBUG 2014-05-21 15:28:39,631 (Thread-449) - http-outgoing-6 >>
> Accept-Encoding: gzip,deflate
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> Content-Type: multipart/form-data;
> boundary=efUhz7rIZVmTta4q-godYmOjxfvqHlT3Ppmc; charset=UTF-8
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >> Host:
> solr-test01.uio.no:443
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> Connection: Keep-Alive
> DEBUG 2014-05-21 15:28:39,631 (Thread-456) - http-outgoing-5 >>
> Accept-Encoding: gzip,deflate
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >> "POST
> /solr/uio/update?wt=xml&version=2.2 HTTP/1.1[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >>
> "User-Agent: Solr[org.apache.solr.client.solrj.impl.HttpSolrServer]
> 1.0[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >>
> "Transfer-Encoding: chunked[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >>
> "Content-Type: application/xml; charset=UTF-8[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >> "Host:
> solr-test01.uio.no:443[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >>
> "Connection: Keep-Alive[\r][\n]"
> DEBUG 2014-05-21 15:28:39,632 (Thread-449) - http-outgoing-6 >>
> "Accept-Encoding: gzip,deflate[\r][\n]"
> <<<<<<
> 
> Expect-continue is *not* firing, as you can see.  Something else we
> are doing in the builder, or maybe that httpclient is doing, is
> apparently preventing it.
> 
> Suggestions for how to quickly debug this problem?
> 

Try debugging this protocol interceptor

http://hc.apache.org/httpcomponents-client-4.3.x/httpclient/xref/org/apache/http/client/protocol/RequestExpectContinue.html#61

Oleg



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


Mime
View raw message