On Fri, 2013-03-08 at 11:50 -0500, Karl Wright wrote: > Trying again on a reply - google seems to have deleted my previous attempt. > > > This is what the 'expect-continue' handshake is for. It enables the > > client to verify server expectations prior to sending the request body. > > Is there a reason this isn't getting used? Is it gated by server > behavior, or is there a setting in HttpClient that allows it to work? >
It is turned off by default due to compatibility issues with older (HTTP/1.0) proxies. > > HttpClient comes with a number of HttpEntity implementations including > > those backed by a byte array, a string or a file. Probably all you have > > to do is to use the right implementation. > > Problem is that ManifoldCF output connectors get an inputstream handed > to them, not a file. But I was asking this question to see if anyone > knew why a resettable input stream wouldn't work. Because, it doesn't > seem to. > I am not sure I understand how resettable input stream could help here. One would effectively need to buffer the entire content of the entity in memory in order to be able to reset from the very end of the stream to the very beginning. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
