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.

optional features implemented by the server and applicable to thatresource (e.g., Allow), possibly including extensions not defined bythis specification. The response body, if any, SHOULD also includein<strong>for</strong>mation about the communication options. The <strong>for</strong>mat <strong>for</strong> such a<strong>Fielding</strong>, et al. Standards Track [Page 52]RFC <strong>2616</strong> HTTP/1.1 June 1999body is not defined by this specification, but might be defined byfuture extensions to HTTP. Content negotiation MAY be used to selectthe appropriate response <strong>for</strong>mat. If no response body is included, theresponse MUST include a Content-Length field with a field-value of"0".The Max-Forwards request-header field MAY be used to target aspecific proxy in the request chain. When a proxy receives an OPTIONSrequest on an absoluteURI <strong>for</strong> which request <strong>for</strong>warding is permitted,the proxy MUST check <strong>for</strong> a Max-Forwards field. If the Max-Forwardsfield-value is zero ("0"), the proxy MUST NOT <strong>for</strong>ward the message;instead, the proxy SHOULD respond with its own communication options.If the Max-Forwards field-value is an integer greater than zero, theproxy MUST decrement the field-value when it <strong>for</strong>wards the request. Ifno Max-Forwards field is present in the request, then the <strong>for</strong>wardedrequest MUST NOT include a Max-Forwards field.9.3 GETThe GET method means retrieve whatever in<strong>for</strong>mation (in the <strong>for</strong>m of anentity) is identified by the <strong>Request</strong>-URI. If the <strong>Request</strong>-URI refersto a data-producing process, it is the produced data which shall bereturned as the entity in the response and not the source text of theprocess, unless that text happens to be the output of the process.The semantics of the GET method change to a "conditional GET" if therequest message includes an If-Modified-Since, If-Unmodified-Since,If-Match, If-None-Match, or If-Range header field. A conditional GETmethod requests that the entity be transferred only under thecircumstances described by the conditional header field(s). Theconditional GET method is intended to reduce unnecessary networkusage by allowing cached entities to be refreshed without requiringmultiple requests or transferring data already held by the client.The semantics of the GET method change to a "partial GET" if therequest message includes a Range header field. A partial GET requeststhat only part of the entity be transferred, as described in section14.35. The partial GET method is intended to reduce unnecessarynetwork usage by allowing partially-retrieved entities to be

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

Saved successfully!

Ooh no, something went wrong!