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

Last change on this file since 844 was 844, checked in by fielding@…, 9 years ago

update organization for Jim Gettys

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