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: Possible to shutdownOutput on socket after sending request body?
Date Sat, 17 Jan 2015 11:24:43 GMT
On Fri, 2015-01-16 at 15:05 -0500, Hugo Duncan wrote:
> Hi,
> I'm wondering if it is possible to get the send side of the client
> connection socket shutdown after the request body has been sent?
> (I'm trying to use the docker API, transports stdin via the http body,
> and I would like the server to recognise an end of file on the input
> stream.)
> Hugo


No, it is not.

In my opinion that would be a violation of the HTTP spec where
'identity' delineation (end of stream) is permitted for the server side


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

View raw message