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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

An example is:Location: http://www.w3.org/pub/WWW/People.htmlNote: The Content-Location header field (section 14.14) differsfrom Location in that the Content-Location identifies the originallocation of the entity enclosed in the request. It is there<strong>for</strong>epossible <strong>for</strong> a response to contain header fields <strong>for</strong> both Locationand Content-Location. Also see section 13.10 <strong>for</strong> cacherequirements of some methods.<strong>Fielding</strong>, et al. Standards Track [Page 135]RFC <strong>2616</strong> HTTP/1.1 June 199914.31 Max-ForwardsThe Max-Forwards request-header field provides a mechanism with theTRACE (section 9.8) and OPTIONS (section 9.2) methods to limit thenumber of proxies or gateways that can <strong>for</strong>ward the request to thenext inbound server. This can be useful when the client is attemptingto trace a request chain which appears to be failing or looping inmid-chain.Max-Forwards = "Max-Forwards" ":" 1*DIGITThe Max-Forwards value is a decimal integer indicating the remainingnumber of times this request message may be <strong>for</strong>warded.Each proxy or gateway recipient of a TRACE or OPTIONS requestcontaining a Max-Forwards header field MUST check and update itsvalue prior to <strong>for</strong>warding the request. If the received value is zero(0), the recipient MUST NOT <strong>for</strong>ward the request; instead, it MUSTrespond as the final recipient. If the received Max-Forwards value isgreater than zero, then the <strong>for</strong>warded message MUST contain an updatedMax-Forwards field with a value decremented by one (1).The Max-Forwards header field MAY be ignored <strong>for</strong> all other methodsdefined by this specification and <strong>for</strong> any extension methods <strong>for</strong> whichit is not explicitly referred to as part of that method definition.14.32 PragmaThe Pragma general-header field is used to include implementationspecificdirectives that might apply to any recipient along therequest/response chain. All pragma directives specify optionalbehavior from the viewpoint of the protocol; however, some systems

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

Saved successfully!

Ooh no, something went wrong!