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

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

update generated HTML

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