source: draft-ietf-httpbis/latest/p4-conditional.html @ 609

Last change on this file since 609 was 609, checked in by julian.reschke@…, 10 years ago

HTAB cleanup (not even editorial)

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 99.7 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
5      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6      <title>HTTP/1.1, part 4: Conditional Requests</title><style type="text/css" title="Xml2Rfc (sans serif)">
7a {
8  text-decoration: none;
9}
10a.smpl {
11  color: black;
12}
13a:hover {
14  text-decoration: underline;
15}
16a:active {
17  text-decoration: underline;
18}
19address {
20  margin-top: 1em;
21  margin-left: 2em;
22  font-style: normal;
23}
24body {
25  color: black;
26  font-family: verdana, helvetica, arial, sans-serif;
27  font-size: 10pt;
28}
29cite {
30  font-style: normal;
31}
32div.note {
33  margin-left: 2em;
34}
35dd {
36  margin-right: 2em;
37}
38dl {
39  margin-left: 2em;
40}
41
42dl.empty dd {
43  margin-top: .5em;
44}
45dl p {
46  margin-left: 0em;
47}
48dt {
49  margin-top: .5em;
50}
51h1 {
52  font-size: 14pt;
53  line-height: 21pt;
54  page-break-after: avoid;
55}
56h1.np {
57  page-break-before: always;
58}
59h1 a {
60  color: #333333;
61}
62h2 {
63  font-size: 12pt;
64  line-height: 15pt;
65  page-break-after: avoid;
66}
67h3, h4, h5, h6 {
68  font-size: 10pt;
69  page-break-after: avoid;
70}
71h2 a, h3 a, h4 a, h5 a, h6 a {
72  color: black;
73}
74img {
75  margin-left: 3em;
76}
77li {
78  margin-left: 2em;
79  margin-right: 2em;
80}
81ol {
82  margin-left: 2em;
83  margin-right: 2em;
84}
85ol p {
86  margin-left: 0em;
87}
88p {
89  margin-left: 2em;
90  margin-right: 2em;
91}
92pre {
93  margin-left: 3em;
94  background-color: lightyellow;
95  padding: .25em;
96}
97pre.text2 {
98  border-style: dotted;
99  border-width: 1px;
100  background-color: #f0f0f0;
101  width: 69em;
102}
103pre.inline {
104  background-color: white;
105  padding: 0em;
106}
107pre.text {
108  border-style: dotted;
109  border-width: 1px;
110  background-color: #f8f8f8;
111  width: 69em;
112}
113pre.drawing {
114  border-style: solid;
115  border-width: 1px;
116  background-color: #f8f8f8;
117  padding: 2em;
118}
119table {
120  margin-left: 2em;
121}
122table.tt {
123  vertical-align: top;
124}
125table.full {
126  border-style: outset;
127  border-width: 1px;
128}
129table.headers {
130  border-style: outset;
131  border-width: 1px;
132}
133table.tt td {
134  vertical-align: top;
135}
136table.full td {
137  border-style: inset;
138  border-width: 1px;
139}
140table.tt th {
141  vertical-align: top;
142}
143table.full th {
144  border-style: inset;
145  border-width: 1px;
146}
147table.headers th {
148  border-style: none none inset none;
149  border-width: 1px;
150}
151caption {
152  caption-side: bottom;
153  font-weight: bold;
154  font-size: 9pt;
155  margin-top: .5em;
156}
157
158table.header {
159  width: 95%;
160  font-size: 10pt;
161  color: white;
162}
163td.top {
164  vertical-align: top;
165}
166td.topnowrap {
167  vertical-align: top;
168  white-space: nowrap; 
169}
170td.header {
171  background-color: gray;
172  width: 50%;
173}
174td.header a {
175  color: white;
176}
177td.reference {
178  vertical-align: top;
179  white-space: nowrap;
180  padding-right: 1em;
181}
182thead {
183  display:table-header-group;
184}
185ul.toc {
186  list-style: none;
187  margin-left: 1.5em;
188  margin-right: 0em;
189  padding-left: 0em;
190}
191li.tocline0 {
192  line-height: 150%;
193  font-weight: bold;
194  font-size: 10pt;
195  margin-left: 0em;
196  margin-right: 0em;
197}
198li.tocline1 {
199  line-height: normal;
200  font-weight: normal;
201  font-size: 9pt;
202  margin-left: 0em;
203  margin-right: 0em;
204}
205li.tocline2 {
206  font-size: 0pt;
207}
208ul p {
209  margin-left: 0em;
210}
211ul.ind {
212  list-style: none;
213  margin-left: 1.5em;
214  margin-right: 0em;
215  padding-left: 0em;
216  page-break-before: avoid;
217}
218li.indline0 {
219  font-weight: bold;
220  line-height: 200%;
221  margin-left: 0em;
222  margin-right: 0em;
223}
224li.indline1 {
225  font-weight: normal;
226  line-height: 150%;
227  margin-left: 0em;
228  margin-right: 0em;
229}
230.bcp14 {
231  font-style: normal;
232  text-transform: lowercase;
233  font-variant: small-caps;
234}
235.comment {
236  background-color: yellow;
237}
238.center {
239  text-align: center;
240}
241.error {
242  color: red;
243  font-style: italic;
244  font-weight: bold;
245}
246.figure {
247  font-weight: bold;
248  text-align: center;
249  font-size: 9pt;
250}
251.filename {
252  color: #333333;
253  font-weight: bold;
254  font-size: 12pt;
255  line-height: 21pt;
256  text-align: center;
257}
258.fn {
259  font-weight: bold;
260}
261.hidden {
262  display: none;
263}
264.left {
265  text-align: left;
266}
267.right {
268  text-align: right;
269}
270.title {
271  color: #990000;
272  font-size: 18pt;
273  line-height: 18pt;
274  font-weight: bold;
275  text-align: center;
276  margin-top: 36pt;
277}
278.vcardline {
279  display: block;
280}
281.warning {
282  font-size: 14pt;
283  background-color: yellow;
284}
285
286
287@media print {
288  .noprint {
289    display: none;
290  }
291 
292  a {
293    color: black;
294    text-decoration: none;
295  }
296
297  table.header {
298    width: 90%;
299  }
300
301  td.header {
302    width: 50%;
303    color: black;
304    background-color: white;
305    vertical-align: top;
306    font-size: 12pt;
307  }
308
309  ul.toc a::after {
310    content: leader('.') target-counter(attr(href), page);
311  }
312 
313  a.iref {
314    content: target-counter(attr(href), page);
315  }
316 
317  .print2col {
318    column-count: 2;
319    -moz-column-count: 2;
320    column-fill: auto;
321  }
322}
323
324@page {
325  @top-left {
326       content: "INTERNET DRAFT"; 
327  } 
328  @top-right {
329       content: "July 2009"; 
330  } 
331  @top-center {
332       content: "HTTP/1.1, Part 4"; 
333  } 
334  @bottom-left {
335       content: "Fielding, et al."; 
336  } 
337  @bottom-center {
338       content: "Standards Track"; 
339  } 
340  @bottom-right {
341       content: "[Page " counter(page) "]"; 
342  } 
343}
344
345@page:first { 
346    @top-left {
347      content: normal;
348    }
349    @top-right {
350      content: normal;
351    }
352    @top-center {
353      content: normal;
354    }
355}
356</style><link rel="Contents" href="#rfc.toc">
357      <link rel="Author" href="#rfc.authors">
358      <link rel="Copyright" href="#rfc.copyright">
359      <link rel="Index" href="#rfc.index">
360      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
361      <link rel="Chapter" title="2 Entity Tags" href="#rfc.section.2">
362      <link rel="Chapter" title="3 Status Code Definitions" href="#rfc.section.3">
363      <link rel="Chapter" title="4 Weak and Strong Validators" href="#rfc.section.4">
364      <link rel="Chapter" title="5 Rules for When to Use Entity Tags and Last-Modified Dates" href="#rfc.section.5">
365      <link rel="Chapter" title="6 Header Field Definitions" href="#rfc.section.6">
366      <link rel="Chapter" title="7 IANA Considerations" href="#rfc.section.7">
367      <link rel="Chapter" title="8 Security Considerations" href="#rfc.section.8">
368      <link rel="Chapter" title="9 Acknowledgments" href="#rfc.section.9">
369      <link rel="Chapter" href="#rfc.section.10" title="10 References">
370      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
371      <link rel="Appendix" title="B Collected ABNF" href="#rfc.section.B">
372      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
373      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.439, 2009-06-09 18:43:39, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
374      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
375      <meta name="DC.Creator" content="Fielding, R.">
376      <meta name="DC.Creator" content="Gettys, J.">
377      <meta name="DC.Creator" content="Mogul, J.">
378      <meta name="DC.Creator" content="Frystyk, H.">
379      <meta name="DC.Creator" content="Masinter, L.">
380      <meta name="DC.Creator" content="Leach, P.">
381      <meta name="DC.Creator" content="Berners-Lee, T.">
382      <meta name="DC.Creator" content="Lafon, Y.">
383      <meta name="DC.Creator" content="Reschke, J. F.">
384      <meta name="DC.Identifier" content="urn:ietf:id:draft-ietf-httpbis-p4-conditional-latest">
385      <meta name="DC.Date.Issued" scheme="ISO8601" content="2009-07">
386      <meta name="DC.Relation.Replaces" content="urn:ietf:rfc:2616">
387      <meta name="DC.Description.Abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 4 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 4 defines request header fields for indicating conditional requests and the rules for constructing responses to those requests.">
388   </head>
389   <body>
390      <table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1">
391         <tr>
392            <td class="header left">HTTPbis Working Group</td>
393            <td class="header right">R. Fielding, Editor</td>
394         </tr>
395         <tr>
396            <td class="header left">Internet Draft</td>
397            <td class="header right">Day Software</td>
398         </tr>
399         <tr>
400            <td class="header left">
401               &lt;draft-ietf-httpbis-p4-conditional-latest&gt;
402               
403            </td>
404            <td class="header right">J. Gettys</td>
405         </tr>
406         <tr>
407            <td class="header left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
408            </td>
409            <td class="header right">One Laptop per Child</td>
410         </tr>
411         <tr>
412            <td class="header left">Intended status: Standards Track</td>
413            <td class="header right">J. Mogul</td>
414         </tr>
415         <tr>
416            <td class="header left">Expires: January 2010</td>
417            <td class="header right">HP</td>
418         </tr>
419         <tr>
420            <td class="header left"></td>
421            <td class="header right">H. Frystyk</td>
422         </tr>
423         <tr>
424            <td class="header left"></td>
425            <td class="header right">Microsoft</td>
426         </tr>
427         <tr>
428            <td class="header left"></td>
429            <td class="header right">L. Masinter</td>
430         </tr>
431         <tr>
432            <td class="header left"></td>
433            <td class="header right">Adobe Systems</td>
434         </tr>
435         <tr>
436            <td class="header left"></td>
437            <td class="header right">P. Leach</td>
438         </tr>
439         <tr>
440            <td class="header left"></td>
441            <td class="header right">Microsoft</td>
442         </tr>
443         <tr>
444            <td class="header left"></td>
445            <td class="header right">T. Berners-Lee</td>
446         </tr>
447         <tr>
448            <td class="header left"></td>
449            <td class="header right">W3C/MIT</td>
450         </tr>
451         <tr>
452            <td class="header left"></td>
453            <td class="header right">Y. Lafon, Editor</td>
454         </tr>
455         <tr>
456            <td class="header left"></td>
457            <td class="header right">W3C</td>
458         </tr>
459         <tr>
460            <td class="header left"></td>
461            <td class="header right">J. F. Reschke, Editor</td>
462         </tr>
463         <tr>
464            <td class="header left"></td>
465            <td class="header right">greenbytes</td>
466         </tr>
467         <tr>
468            <td class="header left"></td>
469            <td class="header right">July 13, 2009</td>
470         </tr>
471      </table>
472      <p class="title">HTTP/1.1, part 4: Conditional Requests<br><span class="filename">draft-ietf-httpbis-p4-conditional-latest</span></p>
473      <h1><a id="rfc.status" href="#rfc.status">Status of this Memo</a></h1>
474      <p>This Internet-Draft is submitted to IETF pursuant to, and in full conformance with, the provisions of BCP 78 and BCP 79. This
475         document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
476         10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
477         allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
478         controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
479         works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
480         it into languages other than English.
481      </p>
482      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note
483         that other groups may also distribute working documents as Internet-Drafts.
484      </p>
485      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
486         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
487         in progress”.
488      </p>
489      <p>The list of current Internet-Drafts can be accessed at &lt;<a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>&gt;.
490      </p>
491      <p>The list of Internet-Draft Shadow Directories can be accessed at &lt;<a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>&gt;.
492      </p>
493      <p>This Internet-Draft will expire in January 2010.</p>
494      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
495      <p>Copyright © 2009 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
496      <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date
497         of publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>). Please review these documents carefully, as they describe your rights and restrictions with respect to this document.
498      </p>
499      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
500      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information
501         systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 4 of the
502         seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part
503         4 defines request header fields for indicating conditional requests and the rules for constructing responses to those requests.
504      </p> 
505      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> 
506      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
507         list is at &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/report/11">http://tools.ietf.org/wg/httpbis/trac/report/11</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
508      </p> 
509      <p>The changes in this draft are summarized in <a href="#changes.since.07" title="Since draft-ietf-httpbis-p4-conditional-07">Appendix&nbsp;C.9</a>.
510      </p> 
511      <hr class="noprint">
512      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
513      <ul class="toc">
514         <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a><ul class="toc">
515               <li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#intro.requirements">Requirements</a></li>
516               <li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#notation">Syntax Notation</a><ul class="toc">
517                     <li class="tocline1">1.2.1&nbsp;&nbsp;&nbsp;<a href="#core.rules">Core Rules</a></li>
518                     <li class="tocline1">1.2.2&nbsp;&nbsp;&nbsp;<a href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></li>
519                  </ul>
520               </li>
521            </ul>
522         </li>
523         <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#entity.tags">Entity Tags</a></li>
524         <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Status Code Definitions</a><ul class="toc">
525               <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#status.304">304 Not Modified</a></li>
526               <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#status.412">412 Precondition Failed</a></li>
527            </ul>
528         </li>
529         <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#weak.and.strong.validators">Weak and Strong Validators</a></li>
530         <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#rules.for.when.to.use.entity.tags.and.last-modified.dates">Rules for When to Use Entity Tags and Last-Modified Dates</a></li>
531         <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#header.fields">Header Field Definitions</a><ul class="toc">
532               <li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#header.etag">ETag</a></li>
533               <li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#header.if-match">If-Match</a></li>
534               <li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#header.if-modified-since">If-Modified-Since</a></li>
535               <li class="tocline1">6.4&nbsp;&nbsp;&nbsp;<a href="#header.if-none-match">If-None-Match</a></li>
536               <li class="tocline1">6.5&nbsp;&nbsp;&nbsp;<a href="#header.if-unmodified-since">If-Unmodified-Since</a></li>
537               <li class="tocline1">6.6&nbsp;&nbsp;&nbsp;<a href="#header.last-modified">Last-Modified</a></li>
538            </ul>
539         </li>
540         <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a><ul class="toc">
541               <li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#message.header.registration">Message Header Registration</a></li>
542            </ul>
543         </li>
544         <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
545         <li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#ack">Acknowledgments</a></li>
546         <li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
547               <li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
548               <li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
549            </ul>
550         </li>
551         <li class="tocline0"><a href="#rfc.authors">Authors' Addresses</a></li>
552         <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a><ul class="toc">
553               <li class="tocline1">A.1&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
554            </ul>
555         </li>
556         <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#collected.abnf">Collected ABNF</a></li>
557         <li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
558               <li class="tocline1">C.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.1">Since RFC2616</a></li>
559               <li class="tocline1">C.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.2">Since draft-ietf-httpbis-p4-conditional-00</a></li>
560               <li class="tocline1">C.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.3">Since draft-ietf-httpbis-p4-conditional-01</a></li>
561               <li class="tocline1">C.4&nbsp;&nbsp;&nbsp;<a href="#changes.since.02">Since draft-ietf-httpbis-p4-conditional-02</a></li>
562               <li class="tocline1">C.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.03">Since draft-ietf-httpbis-p4-conditional-03</a></li>
563               <li class="tocline1">C.6&nbsp;&nbsp;&nbsp;<a href="#changes.since.04">Since draft-ietf-httpbis-p4-conditional-04</a></li>
564               <li class="tocline1">C.7&nbsp;&nbsp;&nbsp;<a href="#changes.since.05">Since draft-ietf-httpbis-p4-conditional-05</a></li>
565               <li class="tocline1">C.8&nbsp;&nbsp;&nbsp;<a href="#changes.since.06">Since draft-ietf-httpbis-p4-conditional-06</a></li>
566               <li class="tocline1">C.9&nbsp;&nbsp;&nbsp;<a href="#changes.since.07">Since draft-ietf-httpbis-p4-conditional-07</a></li>
567            </ul>
568         </li>
569         <li class="tocline0"><a href="#rfc.index">Index</a></li>
570      </ul>
571      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
572      <p id="rfc.section.1.p.1">This document defines HTTP/1.1 response metadata for indicating potential changes to payload content, including modification
573         time stamps and opaque entity-tags, and the HTTP conditional request mechanisms that allow preconditions to be placed on a
574         request method. Conditional GET requests allow for efficient cache updates. Other conditional request methods are used to
575         protect against overwriting or misunderstanding the state of a resource that has been changed unbeknownst to the requesting
576         client.
577      </p>
578      <p id="rfc.section.1.p.2">This document is currently disorganized in order to minimize the changes between drafts and enable reviewers to see the smaller
579         errata changes. The next draft will reorganize the sections to better reflect the content. In particular, the sections on
580         resource metadata will be discussed first and then followed by each conditional request-header, concluding with a definition
581         of precedence and the expectation of ordering strong validator checks before weak validator checks. It is likely that more
582         content from <a href="#Part6" id="rfc.xref.Part6.1"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a> will migrate to this part, where appropriate. The current mess reflects how widely dispersed these topics and associated requirements
583         had become in <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>.
584      </p>
585      <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a id="intro.requirements" href="#intro.requirements">Requirements</a></h2>
586      <p id="rfc.section.1.1.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
587         in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.
588      </p>
589      <p id="rfc.section.1.1.p.2">An implementation is not compliant if it fails to satisfy one or more of the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level requirements for the protocols it implements. An implementation that satisfies all the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level and all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "unconditionally compliant"; one that satisfies all the <em class="bcp14">MUST</em> level requirements but not all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "conditionally compliant."
590      </p>
591      <h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;<a id="notation" href="#notation">Syntax Notation</a></h2>
592      <p id="rfc.section.1.2.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation" title="Syntax Notation">Section 1.2</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> (which extends the syntax defined in <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a> with a list rule). <a href="#collected.abnf" title="Collected ABNF">Appendix&nbsp;B</a> shows the collected ABNF, with the list rule expanded.
593      </p>
594      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
595         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
596         and WSP (whitespace).
597      </p>
598      <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
599      <p id="rfc.section.1.2.1.p.1">The core rules below are defined in <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>:
600      </p>
601      <div id="rfc.figure.u.1"></div><pre class="inline">  <a href="#core.rules" class="smpl">quoted-string</a> = &lt;quoted-string, defined in <a href="#Part1" id="rfc.xref.Part1.3"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>&gt;
602  <a href="#core.rules" class="smpl">OWS</a>           = &lt;OWS, defined in <a href="#Part1" id="rfc.xref.Part1.4"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>&gt;
603</pre><h3 id="rfc.section.1.2.2"><a href="#rfc.section.1.2.2">1.2.2</a>&nbsp;<a id="abnf.dependencies" href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></h3>
604      <p id="rfc.section.1.2.2.p.1">The ABNF rules below are defined in other parts:</p>
605      <div id="rfc.figure.u.2"></div><pre class="inline">  <a href="#abnf.dependencies" class="smpl">HTTP-date</a>     = &lt;HTTP-date, defined in <a href="#Part1" id="rfc.xref.Part1.5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#date.time.formats.full.date" title="Date/Time Formats: Full Date">Section 3.2</a>&gt;
606</pre><h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="entity.tags" href="#entity.tags">Entity Tags</a></h1>
607      <p id="rfc.section.2.p.1">Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the
608         ETag (<a href="#header.etag" id="rfc.xref.header.etag.1" title="ETag">Section&nbsp;6.1</a>), If-Match (<a href="#header.if-match" id="rfc.xref.header.if-match.1" title="If-Match">Section&nbsp;6.2</a>), If-None-Match (<a href="#header.if-none-match" id="rfc.xref.header.if-none-match.1" title="If-None-Match">Section&nbsp;6.4</a>), and If-Range (<a href="p5-range.html#header.if-range" title="If-Range">Section 5.3</a> of <a href="#Part5" id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>) header fields. The definition of how they are used and compared as cache validators is in <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>. An entity tag consists of an opaque quoted string, possibly prefixed by a weakness indicator.
609      </p>
610      <div id="rfc.figure.u.3"></div><pre class="inline"><span id="rfc.iref.g.1"></span><span id="rfc.iref.g.2"></span><span id="rfc.iref.g.3"></span>  <a href="#entity.tags" class="smpl">entity-tag</a> = [ <a href="#entity.tags" class="smpl">weak</a> ] <a href="#entity.tags" class="smpl">opaque-tag</a>
611  <a href="#entity.tags" class="smpl">weak</a>       = %x57.2F ; "W/", case-sensitive
612  <a href="#entity.tags" class="smpl">opaque-tag</a> = <a href="#core.rules" class="smpl">quoted-string</a>
613</pre><p id="rfc.section.2.p.3">A "strong entity tag" <em class="bcp14">MAY</em> be shared by two entities of a resource only if they are equivalent by octet equality.
614      </p>
615      <p id="rfc.section.2.p.4">A "weak entity tag," indicated by the "W/" prefix, <em class="bcp14">MAY</em> be shared by two entities of a resource only if the entities are equivalent and could be substituted for each other with no
616         significant change in semantics. A weak entity tag can only be used for weak comparison.
617      </p>
618      <p id="rfc.section.2.p.5">An entity tag <em class="bcp14">MUST</em> be unique across all versions of all entities associated with a particular resource. A given entity tag value <em class="bcp14">MAY</em> be used for entities obtained by requests on different URIs. The use of the same entity tag value in conjunction with entities
619         obtained by requests on different URIs does not imply the equivalence of those entities.
620      </p>
621      <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;Status Code Definitions
622      </h1>
623      <div id="rfc.iref.3"></div>
624      <div id="rfc.iref.s.1"></div>
625      <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a id="status.304" href="#status.304">304 Not Modified</a></h2>
626      <p id="rfc.section.3.1.p.1">If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server <em class="bcp14">SHOULD</em> respond with this status code. The 304 response <em class="bcp14">MUST NOT</em> contain a message-body, and thus is always terminated by the first empty line after the header fields.
627      </p>
628      <p id="rfc.section.3.1.p.2">The response <em class="bcp14">MUST</em> include the following header fields:
629      </p>
630      <ul>
631         <li>
632            <p>Date, unless its omission is required by <a href="p1-messaging.html#clockless.origin.server.operation" title="Clockless Origin Server Operation">Section 8.3.1</a> of <a href="#Part1" id="rfc.xref.Part1.6"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.
633            </p>
634            <p>If a clockless origin server obeys these rules, and proxies and clients add their own Date to any response received without
635               one (as already specified by <a href="p1-messaging.html#header.date" title="Date">Section 8.3</a> of <a href="#Part1" id="rfc.xref.Part1.7"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, caches will operate correctly.
636            </p>
637         </li>
638         <li>
639            <p>ETag and/or Content-Location, if the header would have been sent in a 200 response to the same request.</p>
640         </li>
641         <li>
642            <p>Expires, Cache-Control, and/or Vary, if the field-value might differ from that sent in any previous response for the same
643               variant.
644            </p>
645         </li>
646      </ul>
647      <p id="rfc.section.3.1.p.3">If the conditional GET used a strong cache validator (see <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>), the response <em class="bcp14">SHOULD NOT</em> include other entity-headers. Otherwise (i.e., the conditional GET used a weak validator), the response <em class="bcp14">MUST NOT</em> include other entity-headers; this prevents inconsistencies between cached entity-bodies and updated headers.
648      </p>
649      <p id="rfc.section.3.1.p.4">If a 304 response indicates an entity not currently cached, then the cache <em class="bcp14">MUST</em> disregard the response and repeat the request without the conditional.
650      </p>
651      <p id="rfc.section.3.1.p.5">If a cache uses a received 304 response to update a cache entry, the cache <em class="bcp14">MUST</em> update the entry to reflect any new field values given in the response.
652      </p>
653      <div id="rfc.iref.4"></div>
654      <div id="rfc.iref.s.2"></div>
655      <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="status.412" href="#status.412">412 Precondition Failed</a></h2>
656      <p id="rfc.section.3.2.p.1">The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server. This
657         response code allows the client to place preconditions on the current resource metainformation (header field data) and thus
658         prevent the requested method from being applied to a resource other than the one intended.
659      </p>
660      <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="weak.and.strong.validators" href="#weak.and.strong.validators">Weak and Strong Validators</a></h1>
661      <p id="rfc.section.4.p.1">Since both origin servers and caches will compare two validators to decide if they represent the same or different entities,
662         one normally would expect that if the entity (the entity-body or any entity-headers) changes in any way, then the associated
663         validator would change as well. If this is true, then we call this validator a "strong validator."
664      </p>
665      <p id="rfc.section.4.p.2">However, there might be cases when a server prefers to change the validator only on semantically significant changes, and
666         not when insignificant aspects of the entity change. A validator that does not always change when the resource changes is
667         a "weak validator."
668      </p>
669      <p id="rfc.section.4.p.3">Entity tags are normally "strong validators," but the protocol provides a mechanism to tag an entity tag as "weak." One can
670         think of a strong validator as one that changes whenever the bits of an entity changes, while a weak value changes whenever
671         the meaning of an entity changes. Alternatively, one can think of a strong validator as part of an identifier for a specific
672         entity, while a weak validator is part of an identifier for a set of semantically equivalent entities.
673      </p>
674      <dl class="empty">
675         <dd> <b>Note:</b> One example of a strong validator is an integer that is incremented in stable storage every time an entity is changed.
676         </dd>
677         <dd>An entity's modification time, if represented with one-second resolution, could be a weak validator, since it is possible
678            that the resource might be modified twice during a single second.
679         </dd>
680         <dd>Support for weak validators is optional. However, weak validators allow for more efficient caching of equivalent objects;
681            for example, a hit counter on a site is probably good enough if it is updated every few days or weeks, and any value during
682            that period is likely "good enough" to be equivalent.
683         </dd>
684      </dl>
685      <p id="rfc.section.4.p.4">A "use" of a validator is either when a client generates a request and includes the validator in a validating header field,
686         or when a server compares two validators.
687      </p>
688      <p id="rfc.section.4.p.5">Strong validators are usable in any context. Weak validators are only usable in contexts that do not depend on exact equality
689         of an entity. For example, either kind is usable for a conditional GET of a full entity. However, only a strong validator
690         is usable for a sub-range retrieval, since otherwise the client might end up with an internally inconsistent entity.
691      </p>
692      <p id="rfc.section.4.p.6">Clients <em class="bcp14">MUST NOT</em> use weak validators in range requests (<a href="#Part5" id="rfc.xref.Part5.2"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>).
693      </p>
694      <p id="rfc.section.4.p.7">The only function that HTTP/1.1 defines on validators is comparison. There are two validator comparison functions, depending
695         on whether the comparison context allows the use of weak validators or not:
696      </p>
697      <ul>
698         <li>The strong comparison function: in order to be considered equal, both opaque-tags <em class="bcp14">MUST</em> be identical character-by-character, and both <em class="bcp14">MUST NOT</em> be weak.
699         </li>
700         <li>The weak comparison function: in order to be considered equal, both opaque-tags <em class="bcp14">MUST</em> be identical character-by-character.
701         </li>
702      </ul>
703      <p id="rfc.section.4.p.8">The example below shows the results for a set of entity tag pairs, and both the weak and strong comparison function results:</p>
704      <div id="rfc.table.u.1">
705         <table summary="" class="tt full" cellpadding="3" cellspacing="0">
706            <thead>
707               <tr>
708                  <th>ETag 1</th>
709                  <th>ETag 2</th>
710                  <th>Strong Comparison</th>
711                  <th>Weak Comparison</th>
712               </tr>
713            </thead>
714            <tbody>
715               <tr>
716                  <td>W/"1"</td>
717                  <td>W/"1"</td>
718                  <td>no match</td>
719                  <td>match</td>
720               </tr>
721               <tr>
722                  <td>W/"1"</td>
723                  <td>W/"2"</td>
724                  <td>no match</td>
725                  <td>no match</td>
726               </tr>
727               <tr>
728                  <td>W/"1"</td>
729                  <td>"1"</td>
730                  <td>no match</td>
731                  <td>match</td>
732               </tr>
733               <tr>
734                  <td>"1"</td>
735                  <td>"1"</td>
736                  <td>match</td>
737                  <td>match</td>
738               </tr>
739            </tbody>
740         </table>
741      </div>
742      <p id="rfc.section.4.p.9">An entity tag is strong unless it is explicitly tagged as weak. <a href="#entity.tags" title="Entity Tags">Section&nbsp;2</a> gives the syntax for entity tags.
743      </p>
744      <p id="rfc.section.4.p.10">A Last-Modified time, when used as a validator in a request, is implicitly weak unless it is possible to deduce that it is
745         strong, using the following rules:
746      </p>
747      <ul>
748         <li>The validator is being compared by an origin server to the actual current validator for the entity and,</li>
749         <li>That origin server reliably knows that the associated entity did not change twice during the second covered by the presented
750            validator.
751         </li>
752      </ul>
753      <p id="rfc.section.4.p.11">or </p>
754      <ul>
755         <li>The validator is about to be used by a client in an If-Modified-Since or If-Unmodified-Since header, because the client has
756            a cache entry for the associated entity, and
757         </li>
758         <li>That cache entry includes a Date value, which gives the time when the origin server sent the original response, and</li>
759         <li>The presented Last-Modified time is at least 60 seconds before the Date value.</li>
760      </ul>
761      <p id="rfc.section.4.p.12">or </p>
762      <ul>
763         <li>The validator is being compared by an intermediate cache to the validator stored in its cache entry for the entity, and</li>
764         <li>That cache entry includes a Date value, which gives the time when the origin server sent the original response, and</li>
765         <li>The presented Last-Modified time is at least 60 seconds before the Date value.</li>
766      </ul>
767      <p id="rfc.section.4.p.13">This method relies on the fact that if two different responses were sent by the origin server during the same second, but
768         both had the same Last-Modified time, then at least one of those responses would have a Date value equal to its Last-Modified
769         time. The arbitrary 60-second limit guards against the possibility that the Date and Last-Modified values are generated from
770         different clocks, or at somewhat different times during the preparation of the response. An implementation <em class="bcp14">MAY</em> use a value larger than 60 seconds, if it is believed that 60 seconds is too short.
771      </p>
772      <p id="rfc.section.4.p.14">If a client wishes to perform a sub-range retrieval on a value for which it has only a Last-Modified time and no opaque validator,
773         it <em class="bcp14">MAY</em> do this only if the Last-Modified time is strong in the sense described here.
774      </p>
775      <p id="rfc.section.4.p.15">A cache or origin server receiving a conditional range request (<a href="#Part5" id="rfc.xref.Part5.3"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>) <em class="bcp14">MUST</em> use the strong comparison function to evaluate the condition.
776      </p>
777      <p id="rfc.section.4.p.16">These rules allow HTTP/1.1 caches and clients to safely perform sub-range retrievals on values that have been obtained from
778         HTTP/1.0 servers.
779      </p>
780      <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="rules.for.when.to.use.entity.tags.and.last-modified.dates" href="#rules.for.when.to.use.entity.tags.and.last-modified.dates">Rules for When to Use Entity Tags and Last-Modified Dates</a></h1>
781      <p id="rfc.section.5.p.1">We adopt a set of rules and recommendations for origin servers, clients, and caches regarding when various validator types
782         ought to be used, and for what purposes.
783      </p>
784      <p id="rfc.section.5.p.2">HTTP/1.1 origin servers: </p>
785      <ul>
786         <li><em class="bcp14">SHOULD</em> send an entity tag validator unless it is not feasible to generate one.
787         </li>
788         <li><em class="bcp14">MAY</em> send a weak entity tag instead of a strong entity tag, if performance considerations support the use of weak entity tags,
789            or if it is unfeasible to send a strong entity tag.
790         </li>
791         <li><em class="bcp14">SHOULD</em> send a Last-Modified value if it is feasible to send one, unless the risk of a breakdown in semantic transparency that could
792            result from using this date in an If-Modified-Since header would lead to serious problems.
793         </li>
794      </ul>
795      <p id="rfc.section.5.p.3">In other words, the preferred behavior for an HTTP/1.1 origin server is to send both a strong entity tag and a Last-Modified
796         value.
797      </p>
798      <p id="rfc.section.5.p.4">In order to be legal, a strong entity tag <em class="bcp14">MUST</em> change whenever the associated entity changes in any way. A weak entity tag <em class="bcp14">SHOULD</em> change whenever the associated entity changes in a semantically significant way.
799      </p>
800      <div class="note"> 
801         <p> <b>Note:</b> in order to provide semantically transparent caching, an origin server must avoid reusing a specific strong entity tag value
802            for two different entities, or reusing a specific weak entity tag value for two semantically different entities. Cache entries
803            might persist for arbitrarily long periods, regardless of expiration times, so it might be inappropriate to expect that a
804            cache will never again attempt to validate an entry using a validator that it obtained at some point in the past.
805         </p> 
806      </div>
807      <p id="rfc.section.5.p.6">HTTP/1.1 clients: </p>
808      <ul>
809         <li>If an entity tag has been provided by the origin server, <em class="bcp14">MUST</em> use that entity tag in any cache-conditional request (using If-Match or If-None-Match).
810         </li>
811         <li>If only a Last-Modified value has been provided by the origin server, <em class="bcp14">SHOULD</em> use that value in non-subrange cache-conditional requests (using If-Modified-Since).
812         </li>
813         <li>If only a Last-Modified value has been provided by an HTTP/1.0 origin server, <em class="bcp14">MAY</em> use that value in subrange cache-conditional requests (using If-Unmodified-Since:). The user agent <em class="bcp14">SHOULD</em> provide a way to disable this, in case of difficulty.
814         </li>
815         <li>If both an entity tag and a Last-Modified value have been provided by the origin server, <em class="bcp14">SHOULD</em> use both validators in cache-conditional requests. This allows both HTTP/1.0 and HTTP/1.1 caches to respond appropriately.
816         </li>
817      </ul>
818      <p id="rfc.section.5.p.7">An HTTP/1.1 origin server, upon receiving a conditional request that includes both a Last-Modified date (e.g., in an If-Modified-Since
819         or If-Unmodified-Since header field) and one or more entity tags (e.g., in an If-Match, If-None-Match, or If-Range header
820         field) as cache validators, <em class="bcp14">MUST NOT</em> return a response status of 304 (Not Modified) unless doing so is consistent with all of the conditional header fields in
821         the request.
822      </p>
823      <p id="rfc.section.5.p.8">An HTTP/1.1 caching proxy, upon receiving a conditional request that includes both a Last-Modified date and one or more entity
824         tags as cache validators, <em class="bcp14">MUST NOT</em> return a locally cached response to the client unless that cached response is consistent with all of the conditional header
825         fields in the request.
826      </p>
827      <dl class="empty">
828         <dd> <b>Note:</b> The general principle behind these rules is that HTTP/1.1 servers and clients should transmit as much non-redundant information
829            as is available in their responses and requests. HTTP/1.1 systems receiving this information will make the most conservative
830            assumptions about the validators they receive.
831         </dd>
832         <dd>HTTP/1.0 clients and caches will ignore entity tags. Generally, last-modified values received or used by these systems will
833            support transparent and efficient caching, and so HTTP/1.1 origin servers should provide Last-Modified values. In those rare
834            cases where the use of a Last-Modified value as a validator by an HTTP/1.0 system could result in a serious problem, then
835            HTTP/1.1 origin servers should not provide one.
836         </dd>
837      </dl>
838      <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="header.fields" href="#header.fields">Header Field Definitions</a></h1>
839      <p id="rfc.section.6.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to conditional requests.</p>
840      <p id="rfc.section.6.p.2">For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who
841         receives the entity.
842      </p>
843      <div id="rfc.iref.e.1"></div>
844      <div id="rfc.iref.h.1"></div>
845      <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a id="header.etag" href="#header.etag">ETag</a></h2>
846      <p id="rfc.section.6.1.p.1">The response-header field "ETag" provides the current value of the entity tag (see <a href="#entity.tags" title="Entity Tags">Section&nbsp;2</a>) for the requested variant. The headers used with entity tags are described in Sections <a href="#header.if-match" id="rfc.xref.header.if-match.2" title="If-Match">6.2</a> and <a href="#header.if-none-match" id="rfc.xref.header.if-none-match.2" title="If-None-Match">6.4</a> of this document, and in <a href="p5-range.html#header.if-range" title="If-Range">Section 5.3</a> of <a href="#Part5" id="rfc.xref.Part5.4"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>. The entity tag <em class="bcp14">MAY</em> be used for comparison with other entities from the same resource (see <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>).
847      </p>
848      <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.4"></span><span id="rfc.iref.g.5"></span>  <a href="#header.etag" class="smpl">ETag</a>   = "ETag" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.etag" class="smpl">ETag-v</a>
849  <a href="#header.etag" class="smpl">ETag-v</a> = <a href="#entity.tags" class="smpl">entity-tag</a>
850</pre><div id="rfc.figure.u.5"></div>
851      <p>Examples:</p>  <pre class="text">  ETag: "xyzzy"
852  ETag: W/"xyzzy"
853  ETag: ""
854</pre><p id="rfc.section.6.1.p.4">The ETag response-header field value, an entity tag, provides for an "opaque" cache validator. This might allow more reliable
855         validation in situations where it is inconvenient to store modification dates, where the one-second resolution of HTTP date
856         values is not sufficient, or where the origin server wishes to avoid certain paradoxes that might arise from the use of modification
857         dates.
858      </p>
859      <p id="rfc.section.6.1.p.5">The principle behind entity tags is that only the service author knows the semantics of a resource well enough to select an
860         appropriate cache validation mechanism, and the specification of any validator comparison function more complex than byte-equality
861         would open up a can of worms. Thus, comparisons of any other headers (except Last-Modified, for compatibility with HTTP/1.0)
862         are never used for purposes of validating a cache entry.
863      </p>
864      <div id="rfc.iref.i.1"></div>
865      <div id="rfc.iref.h.2"></div>
866      <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a id="header.if-match" href="#header.if-match">If-Match</a></h2>
867      <p id="rfc.section.6.2.p.1">The request-header field "If-Match" is used with a method to make it conditional. A client that has one or more entities previously
868         obtained from the resource can verify that one of those entities is current by including a list of their associated entity
869         tags in the If-Match header field. Entity tags are defined in <a href="#entity.tags" title="Entity Tags">Section&nbsp;2</a>. The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction overhead.
870         It is also used, on updating requests, to prevent inadvertent modification of the wrong version of a resource. As a special
871         case, the value "*" matches any current entity of the resource.
872      </p>
873      <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.6"></span><span id="rfc.iref.g.7"></span>  <a href="#header.if-match" class="smpl">If-Match</a>   = "If-Match" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.if-match" class="smpl">If-Match-v</a>
874  <a href="#header.if-match" class="smpl">If-Match-v</a> = "*" / 1#<a href="#entity.tags" class="smpl">entity-tag</a>
875</pre><p id="rfc.section.6.2.p.3">If any of the entity tags match the entity tag of the entity that would have been returned in the response to a similar GET
876         request (without the If-Match header) on that resource, or if "*" is given and any current entity exists for that resource,
877         then the server <em class="bcp14">MAY</em> perform the requested method as if the If-Match header field did not exist.
878      </p>
879      <p id="rfc.section.6.2.p.4">A server <em class="bcp14">MUST</em> use the strong comparison function (see <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>) to compare the entity tags in If-Match.
880      </p>
881      <p id="rfc.section.6.2.p.5">If none of the entity tags match, or if "*" is given and no current entity exists, the server <em class="bcp14">MUST NOT</em> perform the requested method, and <em class="bcp14">MUST</em> return a 412 (Precondition Failed) response. This behavior is most useful when the client wants to prevent an updating method,
882         such as PUT, from modifying a resource that has changed since the client last retrieved it.
883      </p>
884      <p id="rfc.section.6.2.p.6">If the request would, without the If-Match header field, result in anything other than a 2xx or 412 status, then the If-Match
885         header <em class="bcp14">MUST</em> be ignored.
886      </p>
887      <p id="rfc.section.6.2.p.7">The meaning of "If-Match: *" is that the method <em class="bcp14">SHOULD</em> be performed if the representation selected by the origin server (or by a cache, possibly using the Vary mechanism, see <a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.2"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) exists, and <em class="bcp14">MUST NOT</em> be performed if the representation does not exist.
888      </p>
889      <p id="rfc.section.6.2.p.8">A request intended to update a resource (e.g., a PUT) <em class="bcp14">MAY</em> include an If-Match header field to signal that the request method <em class="bcp14">MUST NOT</em> be applied if the entity corresponding to the If-Match value (a single entity tag) is no longer a representation of that resource.
890         This allows the user to indicate that they do not wish the request to be successful if the resource has been changed without
891         their knowledge. Examples:
892      </p>
893      <div id="rfc.figure.u.7"></div><pre class="text">  If-Match: "xyzzy"
894  If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
895  If-Match: *
896</pre><p id="rfc.section.6.2.p.10">The result of a request having both an If-Match header field and either an If-None-Match or an If-Modified-Since header fields
897         is undefined by this specification.
898      </p>
899      <div id="rfc.iref.i.2"></div>
900      <div id="rfc.iref.h.3"></div>
901      <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;<a id="header.if-modified-since" href="#header.if-modified-since">If-Modified-Since</a></h2>
902      <p id="rfc.section.6.3.p.1">The request-header field "If-Modified-Since" is used with a method to make it conditional: if the requested variant has not
903         been modified since the time specified in this field, an entity will not be returned from the server; instead, a 304 (Not
904         Modified) response will be returned without any message-body.
905      </p>
906      <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.8"></span><span id="rfc.iref.g.9"></span>  <a href="#header.if-modified-since" class="smpl">If-Modified-Since</a>   = "If-Modified-Since" ":" <a href="#core.rules" class="smpl">OWS</a>
907                        <a href="#header.if-modified-since" class="smpl">If-Modified-Since-v</a>
908  <a href="#header.if-modified-since" class="smpl">If-Modified-Since-v</a> = <a href="#abnf.dependencies" class="smpl">HTTP-date</a>
909</pre><p id="rfc.section.6.3.p.3">An example of the field is:</p>
910      <div id="rfc.figure.u.9"></div><pre class="text">  If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
911</pre><p id="rfc.section.6.3.p.5">A GET method with an If-Modified-Since header and no Range header requests that the identified entity be transferred only
912         if it has been modified since the date given by the If-Modified-Since header. The algorithm for determining this includes
913         the following cases:
914      </p>
915      <ol>
916         <li>If the request would normally result in anything other than a 200 (OK) status, or if the passed If-Modified-Since date is
917            invalid, the response is exactly the same as for a normal GET. A date which is later than the server's current time is invalid.
918         </li>
919         <li>If the variant has been modified since the If-Modified-Since date, the response is exactly the same as for a normal GET.</li>
920         <li>If the variant has not been modified since a valid If-Modified-Since date, the server <em class="bcp14">SHOULD</em> return a 304 (Not Modified) response.
921         </li>
922      </ol>
923      <p id="rfc.section.6.3.p.6">The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction overhead. </p>
924      <dl class="empty">
925         <dd> <b>Note:</b> The Range request-header field modifies the meaning of If-Modified-Since; see <a href="p5-range.html#header.range" title="Range">Section 5.4</a> of <a href="#Part5" id="rfc.xref.Part5.5"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a> for full details.
926         </dd>
927         <dd> <b>Note:</b> If-Modified-Since times are interpreted by the server, whose clock might not be synchronized with the client.
928         </dd>
929         <dd> <b>Note:</b> When handling an If-Modified-Since header field, some servers will use an exact date comparison function, rather than a less-than
930            function, for deciding whether to send a 304 (Not Modified) response. To get best results when sending an If-Modified-Since
931            header field for cache validation, clients are advised to use the exact date string received in a previous Last-Modified header
932            field whenever possible.
933         </dd>
934         <dd> <b>Note:</b> If a client uses an arbitrary date in the If-Modified-Since header instead of a date taken from the Last-Modified header for
935            the same request, the client should be aware of the fact that this date is interpreted in the server's understanding of time.
936            The client should consider unsynchronized clocks and rounding problems due to the different encodings of time between the
937            client and server. This includes the possibility of race conditions if the document has changed between the time it was first
938            requested and the If-Modified-Since date of a subsequent request, and the possibility of clock-skew-related problems if the
939            If-Modified-Since date is derived from the client's clock without correction to the server's clock. Corrections for different
940            time bases between client and server are at best approximate due to network latency.
941         </dd>
942      </dl>
943      <p id="rfc.section.6.3.p.7">The result of a request having both an If-Modified-Since header field and either an If-Match or an If-Unmodified-Since header
944         fields is undefined by this specification.
945      </p>
946      <div id="rfc.iref.i.3"></div>
947      <div id="rfc.iref.h.4"></div>
948      <h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;<a id="header.if-none-match" href="#header.if-none-match">If-None-Match</a></h2>
949      <p id="rfc.section.6.4.p.1">The request-header field "If-None-Match" is used with a method to make it conditional. A client that has one or more entities
950         previously obtained from the resource can verify that none of those entities is current by including a list of their associated
951         entity tags in the If-None-Match header field. The purpose of this feature is to allow efficient updates of cached information
952         with a minimum amount of transaction overhead. It is also used to prevent a method (e.g. PUT) from inadvertently modifying
953         an existing resource when the client believes that the resource does not exist.
954      </p>
955      <p id="rfc.section.6.4.p.2">As a special case, the value "*" matches any current entity of the resource.</p>
956      <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.10"></span><span id="rfc.iref.g.11"></span>  <a href="#header.if-none-match" class="smpl">If-None-Match</a>   = "If-None-Match" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.if-none-match" class="smpl">If-None-Match-v</a>
957  <a href="#header.if-none-match" class="smpl">If-None-Match-v</a> = "*" / 1#<a href="#entity.tags" class="smpl">entity-tag</a>
958</pre><p id="rfc.section.6.4.p.4">If any of the entity tags match the entity tag of the entity that would have been returned in the response to a similar GET
959         request (without the If-None-Match header) on that resource, or if "*" is given and any current entity exists for that resource,
960         then the server <em class="bcp14">MUST NOT</em> perform the requested method, unless required to do so because the resource's modification date fails to match that supplied
961         in an If-Modified-Since header field in the request. Instead, if the request method was GET or HEAD, the server <em class="bcp14">SHOULD</em> respond with a 304 (Not Modified) response, including the cache-related header fields (particularly ETag) of one of the entities
962         that matched. For all other request methods, the server <em class="bcp14">MUST</em> respond with a status of 412 (Precondition Failed).
963      </p>
964      <p id="rfc.section.6.4.p.5">See <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a> for rules on how to determine if two entity tags match.
965      </p>
966      <p id="rfc.section.6.4.p.6">If none of the entity tags match, then the server <em class="bcp14">MAY</em> perform the requested method as if the If-None-Match header field did not exist, but <em class="bcp14">MUST</em> also ignore any If-Modified-Since header field(s) in the request. That is, if no entity tags match, then the server <em class="bcp14">MUST NOT</em> return a 304 (Not Modified) response.
967      </p>
968      <p id="rfc.section.6.4.p.7">If the request would, without the If-None-Match header field, result in anything other than a 2xx or 304 status, then the
969         If-None-Match header <em class="bcp14">MUST</em> be ignored. (See <a href="#rules.for.when.to.use.entity.tags.and.last-modified.dates" title="Rules for When to Use Entity Tags and Last-Modified Dates">Section&nbsp;5</a> for a discussion of server behavior when both If-Modified-Since and If-None-Match appear in the same request.)
970      </p>
971      <p id="rfc.section.6.4.p.8">The meaning of "If-None-Match: *" is that the method <em class="bcp14">MUST NOT</em> be performed if the representation selected by the origin server (or by a cache, possibly using the Vary mechanism, see <a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.3"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) exists, and <em class="bcp14">SHOULD</em> be performed if the representation does not exist. This feature is intended to be useful in preventing races between PUT operations.
972      </p>
973      <p id="rfc.section.6.4.p.9">Examples:</p>
974      <div id="rfc.figure.u.11"></div><pre class="text">  If-None-Match: "xyzzy"
975  If-None-Match: W/"xyzzy"
976  If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
977  If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"
978  If-None-Match: *
979</pre><p id="rfc.section.6.4.p.11">The result of a request having both an If-None-Match header field and either an If-Match or an If-Unmodified-Since header
980         fields is undefined by this specification.
981      </p>
982      <div id="rfc.iref.i.4"></div>
983      <div id="rfc.iref.h.5"></div>
984      <h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a>&nbsp;<a id="header.if-unmodified-since" href="#header.if-unmodified-since">If-Unmodified-Since</a></h2>
985      <p id="rfc.section.6.5.p.1">The request-header field "If-Unmodified-Since" is used with a method to make it conditional. If the requested resource has
986         not been modified since the time specified in this field, the server <em class="bcp14">SHOULD</em> perform the requested operation as if the If-Unmodified-Since header were not present.
987      </p>
988      <p id="rfc.section.6.5.p.2">If the requested variant has been modified since the specified time, the server <em class="bcp14">MUST NOT</em> perform the requested operation, and <em class="bcp14">MUST</em> return a 412 (Precondition Failed).
989      </p>
990      <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.12"></span><span id="rfc.iref.g.13"></span>  <a href="#header.if-unmodified-since" class="smpl">If-Unmodified-Since</a>   = "If-Unmodified-Since" ":" <a href="#core.rules" class="smpl">OWS</a>
991                          <a href="#header.if-unmodified-since" class="smpl">If-Unmodified-Since-v</a>
992  <a href="#header.if-unmodified-since" class="smpl">If-Unmodified-Since-v</a> = <a href="#abnf.dependencies" class="smpl">HTTP-date</a>
993</pre><p id="rfc.section.6.5.p.4">An example of the field is:</p>
994      <div id="rfc.figure.u.13"></div><pre class="text">  If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
995</pre><p id="rfc.section.6.5.p.6">If the request normally (i.e., without the If-Unmodified-Since header) would result in anything other than a 2xx or 412 status,
996         the If-Unmodified-Since header <em class="bcp14">SHOULD</em> be ignored.
997      </p>
998      <p id="rfc.section.6.5.p.7">If the specified date is invalid, the header is ignored.</p>
999      <p id="rfc.section.6.5.p.8">The result of a request having both an If-Unmodified-Since header field and either an If-None-Match or an If-Modified-Since
1000         header fields is undefined by this specification.
1001      </p>
1002      <div id="rfc.iref.l.1"></div>
1003      <div id="rfc.iref.h.6"></div>
1004      <h2 id="rfc.section.6.6"><a href="#rfc.section.6.6">6.6</a>&nbsp;<a id="header.last-modified" href="#header.last-modified">Last-Modified</a></h2>
1005      <p id="rfc.section.6.6.p.1">The entity-header field "Last-Modified" indicates the date and time at which the origin server believes the variant was last
1006         modified.
1007      </p>
1008      <div id="rfc.figure.u.14"></div><pre class="inline"><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span>  <a href="#header.last-modified" class="smpl">Last-Modified</a>   = "Last-Modified" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.last-modified" class="smpl">Last-Modified-v</a>
1009  <a href="#header.last-modified" class="smpl">Last-Modified-v</a> = <a href="#abnf.dependencies" class="smpl">HTTP-date</a>
1010</pre><p id="rfc.section.6.6.p.3">An example of its use is</p>
1011      <div id="rfc.figure.u.15"></div><pre class="text">  Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
1012</pre><p id="rfc.section.6.6.p.5">The exact meaning of this header field depends on the implementation of the origin server and the nature of the original resource.
1013         For files, it may be just the file system last-modified time. For entities with dynamically included parts, it may be the
1014         most recent of the set of last-modify times for its component parts. For database gateways, it may be the last-update time
1015         stamp of the record. For virtual objects, it may be the last time the internal state changed.
1016      </p>
1017      <p id="rfc.section.6.6.p.6">An origin server <em class="bcp14">MUST NOT</em> send a Last-Modified date which is later than the server's time of message origination. In such cases, where the resource's
1018         last modification would indicate some time in the future, the server <em class="bcp14">MUST</em> replace that date with the message origination date.
1019      </p>
1020      <p id="rfc.section.6.6.p.7">An origin server <em class="bcp14">SHOULD</em> obtain the Last-Modified value of the entity as close as possible to the time that it generates the Date value of its response.
1021         This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity changes
1022         near the time that the response is generated.
1023      </p>
1024      <p id="rfc.section.6.6.p.8">HTTP/1.1 servers <em class="bcp14">SHOULD</em> send Last-Modified whenever feasible.
1025      </p>
1026      <p id="rfc.section.6.6.p.9">The Last-Modified entity-header field value is often used as a cache validator. In simple terms, a cache entry is considered
1027         to be valid if the entity has not been modified since the Last-Modified value.
1028      </p>
1029      <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>
1030      <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a id="message.header.registration" href="#message.header.registration">Message Header Registration</a></h2>
1031      <p id="rfc.section.7.1.p.1">The Message Header Registry located at &lt;<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>&gt; should be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>):
1032      </p>
1033      <div id="rfc.table.1">
1034         <div id="iana.header.registration.table"></div>
1035         <table summary="" class="tt full" cellpadding="3" cellspacing="0">
1036            <thead>
1037               <tr>
1038                  <th>Header Field Name</th>
1039                  <th>Protocol</th>
1040                  <th>Status</th>
1041                  <th>Reference</th>
1042               </tr>
1043            </thead>
1044            <tbody>
1045               <tr>
1046                  <td>ETag</td>
1047                  <td>http</td>
1048                  <td>standard</td>
1049                  <td> <a href="#header.etag" id="rfc.xref.header.etag.2" title="ETag">Section&nbsp;6.1</a> 
1050                  </td>
1051               </tr>
1052               <tr>
1053                  <td>If-Match</td>
1054                  <td>http</td>
1055                  <td>standard</td>
1056                  <td> <a href="#header.if-match" id="rfc.xref.header.if-match.3" title="If-Match">Section&nbsp;6.2</a> 
1057                  </td>
1058               </tr>
1059               <tr>
1060                  <td>If-Modified-Since</td>
1061                  <td>http</td>
1062                  <td>standard</td>
1063                  <td> <a href="#header.if-modified-since" id="rfc.xref.header.if-modified-since.1" title="If-Modified-Since">Section&nbsp;6.3</a> 
1064                  </td>
1065               </tr>
1066               <tr>
1067                  <td>If-None-Match</td>
1068                  <td>http</td>
1069                  <td>standard</td>
1070                  <td> <a href="#header.if-none-match" id="rfc.xref.header.if-none-match.3" title="If-None-Match">Section&nbsp;6.4</a> 
1071                  </td>
1072               </tr>
1073               <tr>
1074                  <td>If-Unmodified-Since</td>
1075                  <td>http</td>
1076                  <td>standard</td>
1077                  <td> <a href="#header.if-unmodified-since" id="rfc.xref.header.if-unmodified-since.1" title="If-Unmodified-Since">Section&nbsp;6.5</a> 
1078                  </td>
1079               </tr>
1080               <tr>
1081                  <td>Last-Modified</td>
1082                  <td>http</td>
1083                  <td>standard</td>
1084                  <td> <a href="#header.last-modified" id="rfc.xref.header.last-modified.1" title="Last-Modified">Section&nbsp;6.6</a> 
1085                  </td>
1086               </tr>
1087            </tbody>
1088         </table>
1089      </div>
1090      <p id="rfc.section.7.1.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
1091      <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
1092      <p id="rfc.section.8.p.1">No additional security considerations have been identified beyond those applicable to HTTP in general <a href="#Part1" id="rfc.xref.Part1.8"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.
1093      </p>
1094      <h1 id="rfc.section.9"><a href="#rfc.section.9">9.</a>&nbsp;<a id="ack" href="#ack">Acknowledgments</a></h1>
1095      <h1 id="rfc.references"><a id="rfc.section.10" href="#rfc.section.10">10.</a> References
1096      </h1>
1097      <h2 id="rfc.references.1"><a href="#rfc.section.10.1" id="rfc.section.10.1">10.1</a> Normative References
1098      </h2>
1099      <table summary="Normative References">         
1100         <tr>
1101            <td class="reference"><b id="Part1">[Part1]</b></td>
1102            <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), July&nbsp;2009.
1103            </td>
1104         </tr>
1105         <tr>
1106            <td class="reference"><b id="Part5">[Part5]</b></td>
1107            <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), July&nbsp;2009.
1108            </td>
1109         </tr>
1110         <tr>
1111            <td class="reference"><b id="Part6">[Part6]</b></td>
1112            <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a>Nottingham, M., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), July&nbsp;2009.
1113            </td>
1114         </tr>
1115         <tr>
1116            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
1117            <td class="top"><a title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
1118            </td>
1119         </tr>
1120         <tr>
1121            <td class="reference"><b id="RFC5234">[RFC5234]</b></td>
1122            <td class="top"><a title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.
1123            </td>
1124         </tr>
1125      </table>
1126      <h2 id="rfc.references.2"><a href="#rfc.section.10.2" id="rfc.section.10.2">10.2</a> Informative References
1127      </h2>
1128      <table summary="Informative References">   
1129         <tr>
1130            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
1131            <td class="top"><a title="University of California, Irvine">Fielding, R.</a>, <a title="W3C">Gettys, J.</a>, <a title="Compaq Computer Corporation">Mogul, J.</a>, <a title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a title="Xerox Corporation">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, and <a title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
1132            </td>
1133         </tr>
1134         <tr>
1135            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
1136            <td class="top"><a title="Nine by Nine">Klyne, G.</a>, <a title="BEA Systems">Nottingham, M.</a>, and <a title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
1137            </td>
1138         </tr>
1139      </table>
1140      <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
1141      <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
1142            (editor)
1143            <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">EMail: <a><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address>
1144      <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">One Laptop per Child</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">jg@laptop.org</span></a></span><span class="vcardline">URI: <a href="http://www.laptop.org/" class="url">http://www.laptop.org/</a></span></address>
1145      <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">JeffMogul@acm.org</span></a></span></address>
1146      <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">henrikn@microsoft.com</span></a></span></address>
1147      <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address>
1148      <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span></span><span class="vcardline">EMail: <a><span class="email">paulle@microsoft.com</span></a></span></address>
1149      <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address>
1150      <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
1151            (editor)
1152            <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span>&nbsp;<span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">EMail: <a><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address>
1153      <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
1154            (editor)
1155            <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address>
1156      <h1 id="rfc.section.A"><a href="#rfc.section.A">A.</a>&nbsp;<a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1>
1157      <h2 id="rfc.section.A.1"><a href="#rfc.section.A.1">A.1</a>&nbsp;<a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2>
1158      <p id="rfc.section.A.1.p.1">Allow weak entity tags in all requests except range requests (Sections <a href="#weak.and.strong.validators" title="Weak and Strong Validators">4</a> and <a href="#header.if-none-match" id="rfc.xref.header.if-none-match.4" title="If-None-Match">6.4</a>).
1159      </p>
1160      <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1>
1161      <div id="rfc.figure.u.16"></div> <pre class="inline"><a href="#header.etag" class="smpl">ETag</a> = "ETag:" OWS ETag-v
1162<a href="#header.etag" class="smpl">ETag-v</a> = entity-tag
1163
1164<a href="#abnf.dependencies" class="smpl">HTTP-date</a> = &lt;HTTP-date, defined in [Part1], Section 3.2&gt;
1165
1166<a href="#header.if-match" class="smpl">If-Match</a> = "If-Match:" OWS If-Match-v
1167<a href="#header.if-match" class="smpl">If-Match-v</a> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
1168 entity-tag ] ) )
1169<a href="#header.if-modified-since" class="smpl">If-Modified-Since</a> = "If-Modified-Since:" OWS If-Modified-Since-v
1170<a href="#header.if-modified-since" class="smpl">If-Modified-Since-v</a> = HTTP-date
1171<a href="#header.if-none-match" class="smpl">If-None-Match</a> = "If-None-Match:" OWS If-None-Match-v
1172<a href="#header.if-none-match" class="smpl">If-None-Match-v</a> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
1173 entity-tag ] ) )
1174<a href="#header.if-unmodified-since" class="smpl">If-Unmodified-Since</a> = "If-Unmodified-Since:" OWS
1175 If-Unmodified-Since-v
1176<a href="#header.if-unmodified-since" class="smpl">If-Unmodified-Since-v</a> = HTTP-date
1177
1178<a href="#header.last-modified" class="smpl">Last-Modified</a> = "Last-Modified:" OWS Last-Modified-v
1179<a href="#header.last-modified" class="smpl">Last-Modified-v</a> = HTTP-date
1180
1181<a href="#core.rules" class="smpl">OWS</a> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
1182
1183<a href="#entity.tags" class="smpl">entity-tag</a> = [ weak ] opaque-tag
1184
1185<a href="#entity.tags" class="smpl">opaque-tag</a> = quoted-string
1186
1187<a href="#core.rules" class="smpl">quoted-string</a> = &lt;quoted-string, defined in [Part1], Section 1.2.2&gt;
1188
1189<a href="#entity.tags" class="smpl">weak</a> = %x57.2F ; W/
1190</pre> <div id="rfc.figure.u.17"></div>
1191      <p>ABNF diagnostics:</p><pre class="inline">; ETag defined but not used
1192; If-Match defined but not used
1193; If-Modified-Since defined but not used
1194; If-None-Match defined but not used
1195; If-Unmodified-Since defined but not used
1196; Last-Modified defined but not used
1197</pre><h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
1198      <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;Since RFC2616
1199      </h2>
1200      <p id="rfc.section.C.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>.
1201      </p>
1202      <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;Since draft-ietf-httpbis-p4-conditional-00
1203      </h2>
1204      <p id="rfc.section.C.2.p.1">Closed issues: </p>
1205      <ul>
1206         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/35">http://tools.ietf.org/wg/httpbis/trac/ticket/35</a>&gt;: "Normative and Informative references"
1207         </li>
1208      </ul>
1209      <p id="rfc.section.C.2.p.2">Other changes: </p>
1210      <ul>
1211         <li>Move definitions of 304 and 412 condition codes from Part2.</li>
1212      </ul>
1213      <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;Since draft-ietf-httpbis-p4-conditional-01
1214      </h2>
1215      <p id="rfc.section.C.3.p.1">Ongoing work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1216      </p>
1217      <ul>
1218         <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li>
1219      </ul>
1220      <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p4-conditional-02</a></h2>
1221      <p id="rfc.section.C.4.p.1">Closed issues: </p>
1222      <ul>
1223         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/116">http://tools.ietf.org/wg/httpbis/trac/ticket/116</a>&gt;: "Weak ETags on non-GET requests"
1224         </li>
1225      </ul>
1226      <p id="rfc.section.C.4.p.2">Ongoing work on IANA Message Header Registration (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/40">http://tools.ietf.org/wg/httpbis/trac/ticket/40</a>&gt;):
1227      </p>
1228      <ul>
1229         <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li>
1230      </ul>
1231      <h2 id="rfc.section.C.5"><a href="#rfc.section.C.5">C.5</a>&nbsp;<a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p4-conditional-03</a></h2>
1232      <p id="rfc.section.C.5.p.1">Closed issues: </p>
1233      <ul>
1234         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/71">http://tools.ietf.org/wg/httpbis/trac/ticket/71</a>&gt;: "Examples for ETag matching"
1235         </li>
1236         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/124">http://tools.ietf.org/wg/httpbis/trac/ticket/124</a>&gt;: "'entity value' undefined"
1237         </li>
1238         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/126">http://tools.ietf.org/wg/httpbis/trac/ticket/126</a>&gt;: "bogus 2068 Date header reference"
1239         </li>
1240      </ul>
1241      <h2 id="rfc.section.C.6"><a href="#rfc.section.C.6">C.6</a>&nbsp;<a id="changes.since.04" href="#changes.since.04">Since draft-ietf-httpbis-p4-conditional-04</a></h2>
1242      <p id="rfc.section.C.6.p.1">Ongoing work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1243      </p>
1244      <ul>
1245         <li>Use "/" instead of "|" for alternatives.</li>
1246         <li>Introduce new ABNF rules for "bad" whitespace ("BWS"), optional whitespace ("OWS") and required whitespace ("RWS").</li>
1247         <li>Rewrite ABNFs to spell out whitespace rules, factor out header value format definitions.</li>
1248      </ul>
1249      <h2 id="rfc.section.C.7"><a href="#rfc.section.C.7">C.7</a>&nbsp;<a id="changes.since.05" href="#changes.since.05">Since draft-ietf-httpbis-p4-conditional-05</a></h2>
1250      <p id="rfc.section.C.7.p.1">Final work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1251      </p>
1252      <ul>
1253         <li>Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.</li>
1254      </ul>
1255      <h2 id="rfc.section.C.8"><a href="#rfc.section.C.8">C.8</a>&nbsp;<a id="changes.since.06" href="#changes.since.06">Since draft-ietf-httpbis-p4-conditional-06</a></h2>
1256      <p id="rfc.section.C.8.p.1">Closed issues: </p>
1257      <ul>
1258         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/153">http://tools.ietf.org/wg/httpbis/trac/ticket/153</a>&gt;: "case-sensitivity of etag weakness indicator"
1259         </li>
1260      </ul>
1261      <h2 id="rfc.section.C.9"><a href="#rfc.section.C.9">C.9</a>&nbsp;<a id="changes.since.07" href="#changes.since.07">Since draft-ietf-httpbis-p4-conditional-07</a></h2>
1262      <p id="rfc.section.C.9.p.1">None.</p>
1263      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
1264      <p class="noprint"><a href="#rfc.index.3">3</a> <a href="#rfc.index.4">4</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> 
1265      </p>
1266      <div class="print2col">
1267         <ul class="ind">
1268            <li class="indline0"><a id="rfc.index.3" href="#rfc.index.3"><b>3</b></a><ul class="ind">
1269                  <li class="indline1">304 Not Modified (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.3"><b>3.1</b></a></li>
1270               </ul>
1271            </li>
1272            <li class="indline0"><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul class="ind">
1273                  <li class="indline1">412 Precondition Failed (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.4"><b>3.2</b></a></li>
1274               </ul>
1275            </li>
1276            <li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind">
1277                  <li class="indline1">ETag header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.etag.1">2</a>, <a class="iref" href="#rfc.iref.e.1"><b>6.1</b></a>, <a class="iref" href="#rfc.xref.header.etag.2">7.1</a></li>
1278               </ul>
1279            </li>
1280            <li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind">
1281                  <li class="indline1"><tt>Grammar</tt>&nbsp;&nbsp;
1282                     <ul class="ind">
1283                        <li class="indline1"><tt>entity-tag</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1"><b>2</b></a></li>
1284                        <li class="indline1"><tt>ETag</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.4"><b>6.1</b></a></li>
1285                        <li class="indline1"><tt>ETag-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.5"><b>6.1</b></a></li>
1286                        <li class="indline1"><tt>If-Match</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.6"><b>6.2</b></a></li>
1287                        <li class="indline1"><tt>If-Match-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.7"><b>6.2</b></a></li>
1288                        <li class="indline1"><tt>If-Modified-Since</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.8"><b>6.3</b></a></li>
1289                        <li class="indline1"><tt>If-Modified-Since-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.9"><b>6.3</b></a></li>
1290                        <li class="indline1"><tt>If-None-Match</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.10"><b>6.4</b></a></li>
1291                        <li class="indline1"><tt>If-None-Match-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.11"><b>6.4</b></a></li>
1292                        <li class="indline1"><tt>If-Unmodified-Since</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.12"><b>6.5</b></a></li>
1293                        <li class="indline1"><tt>If-Unmodified-Since-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.13"><b>6.5</b></a></li>
1294                        <li class="indline1"><tt>Last-Modified</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.14"><b>6.6</b></a></li>
1295                        <li class="indline1"><tt>Last-Modified-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.15"><b>6.6</b></a></li>
1296                        <li class="indline1"><tt>opaque-tag</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.3"><b>2</b></a></li>
1297                        <li class="indline1"><tt>weak</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>2</b></a></li>
1298                     </ul>
1299                  </li>
1300               </ul>
1301            </li>
1302            <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
1303                  <li class="indline1">Headers&nbsp;&nbsp;
1304                     <ul class="ind">
1305                        <li class="indline1">ETag&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.etag.1">2</a>, <a class="iref" href="#rfc.iref.h.1"><b>6.1</b></a>, <a class="iref" href="#rfc.xref.header.etag.2">7.1</a></li>
1306                        <li class="indline1">If-Match&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-match.1">2</a>, <a class="iref" href="#rfc.xref.header.if-match.2">6.1</a>, <a class="iref" href="#rfc.iref.h.2"><b>6.2</b></a>, <a class="iref" href="#rfc.xref.header.if-match.3">7.1</a></li>
1307                        <li class="indline1">If-Modified-Since&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.3"><b>6.3</b></a>, <a class="iref" href="#rfc.xref.header.if-modified-since.1">7.1</a></li>
1308                        <li class="indline1">If-None-Match&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-none-match.1">2</a>, <a class="iref" href="#rfc.xref.header.if-none-match.2">6.1</a>, <a class="iref" href="#rfc.iref.h.4"><b>6.4</b></a>, <a class="iref" href="#rfc.xref.header.if-none-match.3">7.1</a>, <a class="iref" href="#rfc.xref.header.if-none-match.4">A.1</a></li>
1309                        <li class="indline1">If-Unmodified-Since&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.5"><b>6.5</b></a>, <a class="iref" href="#rfc.xref.header.if-unmodified-since.1">7.1</a></li>
1310                        <li class="indline1">Last-Modified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.6"><b>6.6</b></a>, <a class="iref" href="#rfc.xref.header.last-modified.1">7.1</a></li>
1311                     </ul>
1312                  </li>
1313               </ul>
1314            </li>
1315            <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">
1316                  <li class="indline1">If-Match header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-match.1">2</a>, <a class="iref" href="#rfc.xref.header.if-match.2">6.1</a>, <a class="iref" href="#rfc.iref.i.1"><b>6.2</b></a>, <a class="iref" href="#rfc.xref.header.if-match.3">7.1</a></li>
1317                  <li class="indline1">If-Modified-Since header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.2"><b>6.3</b></a>, <a class="iref" href="#rfc.xref.header.if-modified-since.1">7.1</a></li>
1318                  <li class="indline1">If-None-Match header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-none-match.1">2</a>, <a class="iref" href="#rfc.xref.header.if-none-match.2">6.1</a>, <a class="iref" href="#rfc.iref.i.3"><b>6.4</b></a>, <a class="iref" href="#rfc.xref.header.if-none-match.3">7.1</a>, <a class="iref" href="#rfc.xref.header.if-none-match.4">A.1</a></li>
1319                  <li class="indline1">If-Unmodified-Since header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.4"><b>6.5</b></a>, <a class="iref" href="#rfc.xref.header.if-unmodified-since.1">7.1</a></li>
1320               </ul>
1321            </li>
1322            <li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind">
1323                  <li class="indline1">Last-Modified header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.1"><b>6.6</b></a>, <a class="iref" href="#rfc.xref.header.last-modified.1">7.1</a></li>
1324               </ul>
1325            </li>
1326            <li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind">
1327                  <li class="indline1"><em>Part1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">1.2</a>, <a class="iref" href="#rfc.xref.Part1.2">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.2.2</a>, <a class="iref" href="#rfc.xref.Part1.6">3.1</a>, <a class="iref" href="#rfc.xref.Part1.7">3.1</a>, <a class="iref" href="#rfc.xref.Part1.8">8</a>, <a class="iref" href="#Part1"><b>10.1</b></a><ul class="ind">
1328                        <li class="indline1"><em>Section 1.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">1.2</a></li>
1329                        <li class="indline1"><em>Section 1.2.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.2">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.2.1</a></li>
1330                        <li class="indline1"><em>Section 3.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.5">1.2.2</a></li>
1331                        <li class="indline1"><em>Section 8.3.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.6">3.1</a></li>
1332                        <li class="indline1"><em>Section 8.3</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.7">3.1</a></li>
1333                     </ul>
1334                  </li>
1335                  <li class="indline1"><em>Part5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.1">2</a>, <a class="iref" href="#rfc.xref.Part5.2">4</a>, <a class="iref" href="#rfc.xref.Part5.3">4</a>, <a class="iref" href="#rfc.xref.Part5.4">6.1</a>, <a class="iref" href="#rfc.xref.Part5.5">6.3</a>, <a class="iref" href="#Part5"><b>10.1</b></a><ul class="ind">
1336                        <li class="indline1"><em>Section 5.3</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.1">2</a>, <a class="iref" href="#rfc.xref.Part5.4">6.1</a></li>
1337                        <li class="indline1"><em>Section 5.4</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.5">6.3</a></li>
1338                     </ul>
1339                  </li>
1340                  <li class="indline1"><em>Part6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part6.1">1</a>, <a class="iref" href="#rfc.xref.Part6.2">6.2</a>, <a class="iref" href="#rfc.xref.Part6.3">6.4</a>, <a class="iref" href="#Part6"><b>10.1</b></a><ul class="ind">
1341                        <li class="indline1"><em>Section 3.5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part6.2">6.2</a>, <a class="iref" href="#rfc.xref.Part6.3">6.4</a></li>
1342                     </ul>
1343                  </li>
1344               </ul>
1345            </li>
1346            <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
1347                  <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">1.1</a>, <a class="iref" href="#RFC2119"><b>10.1</b></a></li>
1348                  <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#RFC2616"><b>10.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.2">C.1</a></li>
1349                  <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">7.1</a>, <a class="iref" href="#RFC3864"><b>10.2</b></a></li>
1350                  <li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5234.1">1.2</a>, <a class="iref" href="#rfc.xref.RFC5234.2">1.2</a>, <a class="iref" href="#RFC5234"><b>10.1</b></a><ul class="ind">
1351                        <li class="indline1"><em>Appendix B.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5234.2">1.2</a></li>
1352                     </ul>
1353                  </li>
1354               </ul>
1355            </li>
1356            <li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind">
1357                  <li class="indline1">Status Codes&nbsp;&nbsp;
1358                     <ul class="ind">
1359                        <li class="indline1">304 Not Modified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1"><b>3.1</b></a></li>
1360                        <li class="indline1">412 Precondition Failed&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2"><b>3.2</b></a></li>
1361                     </ul>
1362                  </li>
1363               </ul>
1364            </li>
1365         </ul>
1366      </div>
1367   </body>
1368</html>
Note: See TracBrowser for help on using the repository browser.