clarification of 7.2.2. Monitoring Connections for Error Status Messages

As a client is sending a message-body over the network connection,
will any non-error response status (as well as the message body) be
allowed, at all?

Section 7.2.2 & 5.0 seems to suggest otherwise, but not strongly enough IMO.

http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-09

"
5.  Response

   After receiving and interpreting a request message, a server responds
   with an HTTP response message.

7.2.2.  Monitoring Connections for Error Status Messages

   An HTTP/1.1 (or later) client sending a message-body SHOULD monitor
   the network connection for an error status while it is transmitting
   the request.  If the client sees an error status, it SHOULD
   immediately cease transmitting the body.  If the body is being sent
   using a "chunked" encoding (Section 6.2), a zero length chunk and
   empty trailer MAY be used to prematurely mark the end of the message.
   If the body was preceded by a Content-Length header, the client MUST
   close the connection.
"

- Wenbo

Received on Thursday, 15 April 2010 23:44:30 UTC