11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

connection-token close.If either the client or the server sends the close token in theConnection header, that request becomes the last one <strong>for</strong> theconnection.Clients and servers SHOULD NOT assume that a persistent connection ismaintained <strong>for</strong> HTTP versions less than 1.1 unless it is explicitlysignaled. See section 19.6.2 <strong>for</strong> more in<strong>for</strong>mation on backwardcompatibility with HTTP/1.0 clients.In order to remain persistent, all messages on the connection MUSThave a self-defined message length (i.e., one not defined by closureof the connection), as described in section 4.4.<strong>Fielding</strong>, et al. Standards Track [Page 45]RFC <strong>2616</strong> HTTP/1.1 June 19998.1.2.2 PipeliningA client that supports persistent connections MAY "pipeline" itsrequests (i.e., send multiple requests without waiting <strong>for</strong> eachresponse). A server MUST send its responses to those requests in thesame order that the requests were received.Clients which assume persistent connections and pipeline immediatelyafter connection establishment SHOULD be prepared to retry theirconnection if the first pipelined attempt fails. If a client doessuch a retry, it MUST NOT pipeline be<strong>for</strong>e it knows the connection ispersistent. Clients MUST also be prepared to resend their requests ifthe server closes the connection be<strong>for</strong>e sending all of thecorresponding responses.Clients SHOULD NOT pipeline requests using non-idempotent methods ornon-idempotent sequences of methods (see section 9.1.2). Otherwise, apremature termination of the transport connection could lead toindeterminate results. A client wishing to send a non-idempotentrequest SHOULD wait to send that request until it has received theresponse status <strong>for</strong> the previous request.8.1.3 Proxy Servers

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!