source: draft-ietf-httpbis/latest/p4-conditional.xml @ 245

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

Resolve #116: allow weak entity tags in all requests except range requests (closes #116).

  • Property svn:eol-style set to native
File size: 54.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "latest">
15  <!ENTITY ID-MONTH "May">
16  <!ENTITY ID-YEAR "2008">
17  <!ENTITY notation-abnf              "<xref target='Part1' x:rel='#notation.abnf' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
18  <!ENTITY basic-rules                "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY messaging                  "<xref target='Part1' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY caching                    "<xref target='Part6' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY header-if-range            "<xref target='Part5' x:rel='#header.if-range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY header-range               "<xref target='Part5' x:rel='#header.range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY header-vary                "<xref target='Part6' x:rel='#header.vary' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY clockless                  "<xref target='Part1' x:rel='#clockless.origin.server.operation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY full-date                  "<xref target='Part1' x:rel='#full.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26]>
27<?rfc toc="yes" ?>
28<?rfc symrefs="yes" ?>
29<?rfc sortrefs="yes" ?>
30<?rfc compact="yes"?>
31<?rfc subcompact="no" ?>
32<?rfc linkmailto="no" ?>
33<?rfc editing="no" ?>
34<?rfc comments="yes"?>
35<?rfc inline="yes"?>
36<?rfc-ext allow-markup-in-artwork="yes" ?>
37<?rfc-ext include-references-in-index="yes" ?>
38<rfc obsoletes="2616" category="std"
39     ipr="full3978" docName="draft-ietf-httpbis-p4-conditional-&ID-VERSION;"
40     xmlns:x='http://purl.org/net/xml2rfc/ext'>
41<front>
42
43  <title abbrev="HTTP/1.1, Part 4">HTTP/1.1, part 4: Conditional Requests</title>
44
45  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
46    <organization abbrev="Day Software">Day Software</organization>
47    <address>
48      <postal>
49        <street>23 Corporate Plaza DR, Suite 280</street>
50        <city>Newport Beach</city>
51        <region>CA</region>
52        <code>92660</code>
53        <country>USA</country>
54      </postal>
55      <phone>+1-949-706-5300</phone>
56      <facsimile>+1-949-706-5305</facsimile>
57      <email>fielding@gbiv.com</email>
58      <uri>http://roy.gbiv.com/</uri>
59    </address>
60  </author>
61
62  <author initials="J." surname="Gettys" fullname="Jim Gettys">
63    <organization>One Laptop per Child</organization>
64    <address>
65      <postal>
66        <street>21 Oak Knoll Road</street>
67        <city>Carlisle</city>
68        <region>MA</region>
69        <code>01741</code>
70        <country>USA</country>
71      </postal>
72      <email>jg@laptop.org</email>
73      <uri>http://www.laptop.org/</uri>
74    </address>
75  </author>
76 
77  <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
78    <organization abbrev="HP">Hewlett-Packard Company</organization>
79    <address>
80      <postal>
81        <street>HP Labs, Large Scale Systems Group</street>
82        <street>1501 Page Mill Road, MS 1177</street>
83        <city>Palo Alto</city>
84        <region>CA</region>
85        <code>94304</code>
86        <country>USA</country>
87      </postal>
88      <email>JeffMogul@acm.org</email>
89    </address>
90  </author>
91
92  <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
93    <organization abbrev="Microsoft">Microsoft Corporation</organization>
94    <address>
95      <postal>
96        <street>1 Microsoft Way</street>
97        <city>Redmond</city>
98        <region>WA</region>
99        <code>98052</code>
100        <country>USA</country>
101      </postal>
102      <email>henrikn@microsoft.com</email>
103    </address>
104  </author>
105
106  <author initials="L." surname="Masinter" fullname="Larry Masinter">
107    <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
108    <address>
109      <postal>
110        <street>345 Park Ave</street>
111        <city>San Jose</city>
112        <region>CA</region>
113        <code>95110</code>
114        <country>USA</country>
115      </postal>
116      <email>LMM@acm.org</email>
117      <uri>http://larry.masinter.net/</uri>
118    </address>
119  </author>
120 
121  <author initials="P." surname="Leach" fullname="Paul J. Leach">
122    <organization abbrev="Microsoft">Microsoft Corporation</organization>
123    <address>
124      <postal>
125        <street>1 Microsoft Way</street>
126        <city>Redmond</city>
127        <region>WA</region>
128        <code>98052</code>
129      </postal>
130      <email>paulle@microsoft.com</email>
131    </address>
132  </author>
133   
134  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
135    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
136    <address>
137      <postal>
138        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
139        <street>The Stata Center, Building 32</street>
140        <street>32 Vassar Street</street>
141        <city>Cambridge</city>
142        <region>MA</region>
143        <code>02139</code>
144        <country>USA</country>
145      </postal>
146      <email>timbl@w3.org</email>
147      <uri>http://www.w3.org/People/Berners-Lee/</uri>
148    </address>
149  </author>
150
151  <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
152    <organization abbrev="W3C">World Wide Web Consortium</organization>
153    <address>
154      <postal>
155        <street>W3C / ERCIM</street>
156        <street>2004, rte des Lucioles</street>
157        <city>Sophia-Antipolis</city>
158        <region>AM</region>
159        <code>06902</code>
160        <country>France</country>
161      </postal>
162      <email>ylafon@w3.org</email>
163      <uri>http://www.raubacapeu.net/people/yves/</uri>
164    </address>
165  </author>
166
167  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
168    <organization abbrev="greenbytes">greenbytes GmbH</organization>
169    <address>
170      <postal>
171        <street>Hafenweg 16</street>
172        <city>Muenster</city><region>NW</region><code>48155</code>
173        <country>Germany</country>
174      </postal>
175      <phone>+49 251 2807760</phone>   
176      <facsimile>+49 251 2807761</facsimile>   
177      <email>julian.reschke@greenbytes.de</email>       
178      <uri>http://greenbytes.de/tech/webdav/</uri>     
179    </address>
180  </author>
181
182  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
183
184<abstract>
185<t>
186   The Hypertext Transfer Protocol (HTTP) is an application-level
187   protocol for distributed, collaborative, hypermedia information
188   systems. HTTP has been in use by the World Wide Web global information
189   initiative since 1990. This document is Part 4 of the seven-part specification
190   that defines the protocol referred to as "HTTP/1.1" and, taken together,
191   obsoletes RFC 2616.  Part 4 defines request header fields for
192   indicating conditional requests and the rules for constructing responses
193   to those requests.
194</t>
195</abstract>
196
197<note title="Editorial Note (To be removed by RFC Editor)">
198  <t>
199    Discussion of this draft should take place on the HTTPBIS working group
200    mailing list (ietf-http-wg@w3.org). The current issues list is
201    at <eref target="http://www.tools.ietf.org/wg/httpbis/trac/report/11"/>
202    and related documents (including fancy diffs) can be found at
203    <eref target="http://www.tools.ietf.org/wg/httpbis/"/>.
204  </t>
205  <t>
206    This draft incorporates those issue resolutions that were either
207    collected in the original RFC2616 errata list (<eref target="http://purl.org/NET/http-errata"/>),
208    or which were agreed upon on the mailing list between October 2006 and
209    November 2007 (as published in "draft-lafon-rfc2616bis-03").
210  </t>
211</note>
212</front>
213<middle>
214<section title="Introduction" anchor="introduction">
215<t>
216   This document defines HTTP/1.1 response metadata for indicating potential
217   changes to payload content, including modification time stamps and opaque
218   entity-tags, and the HTTP conditional request mechanisms that allow
219   preconditions to be placed on a request method.  Conditional GET requests
220   allow for efficient cache updates.  Other conditional request methods are
221   used to protect against overwriting or misunderstanding the state of a
222   resource that has been changed unbeknownst to the requesting client.
223</t>
224<t>
225   This document is currently disorganized in order to minimize the changes
226   between drafts and enable reviewers to see the smaller errata changes.
227   The next draft will reorganize the sections to better reflect the content.
228   In particular, the sections on resource metadata will be discussed first
229   and then followed by each conditional request-header, concluding with a
230   definition of precedence and the expectation of ordering strong validator
231   checks before weak validator checks.  It is likely that more content from
232   &caching; will migrate to this part, where appropriate.
233   The current mess reflects how widely dispersed these topics and associated
234   requirements had become in <xref target="RFC2616"/>.
235</t>
236
237<section title="Requirements" anchor="intro.requirements">
238<t>
239   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
240   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
241   document are to be interpreted as described in <xref target="RFC2119"/>.
242</t>
243<t>
244   An implementation is not compliant if it fails to satisfy one or more
245   of the &MUST; or &REQUIRED; level requirements for the protocols it
246   implements. An implementation that satisfies all the &MUST; or &REQUIRED;
247   level and all the &SHOULD; level requirements for its protocols is said
248   to be "unconditionally compliant"; one that satisfies all the &MUST;
249   level requirements but not all the &SHOULD; level requirements for its
250   protocols is said to be "conditionally compliant."
251</t>
252</section>
253</section>
254
255<section title="Notational Conventions and Generic Grammar" anchor="notation">
256  <x:anchor-alias value="quoted-string"/>
257<t>
258  This specification uses the ABNF syntax defined in &notation-abnf; and
259  the core rules defined in &basic-rules;:
260  <cref anchor="abnf.dep">ABNF syntax and basic rules will be adopted from RFC 5234, see
261  <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>.</cref>
262</t>
263<figure><artwork type="abnf2616">
264  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &basic-rules;&gt;
265</artwork></figure>
266<t anchor="abnf.dependencies">
267  <x:anchor-alias value="HTTP-date"/>
268  The ABNF rules below are defined in other parts:
269</t>
270<figure><!--Part1--><artwork type="abnf2616">
271  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt;
272</artwork></figure>
273</section>
274
275<section title="Entity Tags" anchor="entity.tags">
276  <x:anchor-alias value="entity-tag"/>
277  <x:anchor-alias value="opaque-tag"/>
278  <x:anchor-alias value="weak"/>
279<t>
280   Entity tags are used for comparing two or more entities from the same
281   requested resource. HTTP/1.1 uses entity tags in the ETag (<xref target="header.etag"/>),
282   If-Match (<xref target="header.if-match"/>), If-None-Match (<xref target="header.if-none-match"/>), and
283   If-Range (&header-if-range;) header fields. The definition of how they
284   are used and compared as cache validators is in <xref target="weak.and.strong.validators"/>. An
285   entity tag consists of an opaque quoted string, possibly prefixed by
286   a weakness indicator.
287</t>
288<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="entity-tag"/><iref primary="true" item="Grammar" subitem="weak"/><iref primary="true" item="Grammar" subitem="opaque-tag"/>
289  <x:ref>entity-tag</x:ref> = [ <x:ref>weak</x:ref> ] <x:ref>opaque-tag</x:ref>
290  <x:ref>weak</x:ref>       = "W/"
291  <x:ref>opaque-tag</x:ref> = <x:ref>quoted-string</x:ref>
292</artwork></figure>
293<t>
294   A "strong entity tag" &MAY; be shared by two entities of a resource
295   only if they are equivalent by octet equality.
296</t>
297<t>
298   A "weak entity tag," indicated by the "W/" prefix, &MAY; be shared by
299   two entities of a resource only if the entities are equivalent and
300   could be substituted for each other with no significant change in
301   semantics. A weak entity tag can only be used for weak comparison.
302</t>
303<t>
304   An entity tag &MUST; be unique across all versions of all entities
305   associated with a particular resource. A given entity tag value &MAY;
306   be used for entities obtained by requests on different URIs. The use
307   of the same entity tag value in conjunction with entities obtained by
308   requests on different URIs does not imply the equivalence of those
309   entities.
310</t>
311</section>
312
313<section title="Status Code Definitions">
314<section title="304 Not Modified" anchor="status.304">
315  <iref primary="true" item="304 Not Modified (status code)" x:for-anchor=""/>
316  <iref primary="true" item="Status Codes" subitem="304 Not Modified" x:for-anchor=""/>
317<t>
318   If the client has performed a conditional GET request and access is
319   allowed, but the document has not been modified, the server &SHOULD;
320   respond with this status code. The 304 response &MUST-NOT; contain a
321   message-body, and thus is always terminated by the first empty line
322   after the header fields.
323</t>
324<t>
325   The response &MUST; include the following header fields:
326  <list style="symbols">
327    <t>Date, unless its omission is required by &clockless;</t>
328  </list>
329</t>
330<t>
331   If a clockless origin server obeys these rules, and proxies and
332   clients add their own Date to any response received without one (as
333   already specified by <xref target="RFC2068" x:sec="14.19" x:fmt=","/>), caches will operate
334   correctly.
335  <list style="symbols">
336    <t>ETag and/or Content-Location, if the header would have been sent
337        in a 200 response to the same request</t>
338    <t>Expires, Cache-Control, and/or Vary, if the field-value might
339        differ from that sent in any previous response for the same
340        variant</t>
341  </list>
342</t>
343<t>
344   If the conditional GET used a strong cache validator (see <xref target="weak.and.strong.validators"/>),
345   the response &SHOULD-NOT;  include other entity-headers.
346   Otherwise (i.e., the conditional GET used a weak validator), the
347   response &MUST-NOT; include other entity-headers; this prevents
348   inconsistencies between cached entity-bodies and updated headers.
349</t>
350<t>
351   If a 304 response indicates an entity not currently cached, then the
352   cache &MUST; disregard the response and repeat the request without the
353   conditional.
354</t>
355<t>
356   If a cache uses a received 304 response to update a cache entry, the
357   cache &MUST; update the entry to reflect any new field values given in
358   the response.
359</t>
360</section>
361
362<section title="412 Precondition Failed" anchor="status.412">
363  <iref primary="true" item="412 Precondition Failed (status code)" x:for-anchor=""/>
364  <iref primary="true" item="Status Codes" subitem="412 Precondition Failed" x:for-anchor=""/>
365<t>
366   The precondition given in one or more of the request-header fields
367   evaluated to false when it was tested on the server. This response
368   code allows the client to place preconditions on the current resource
369   metainformation (header field data) and thus prevent the requested
370   method from being applied to a resource other than the one intended.
371</t>
372</section>
373</section>
374
375<section title="Weak and Strong Validators" anchor="weak.and.strong.validators">
376<t>
377   Since both origin servers and caches will compare two validators to
378   decide if they represent the same or different entities, one normally
379   would expect that if the entity (the entity-body or any entity-headers)
380   changes in any way, then the associated validator would
381   change as well. If this is true, then we call this validator a
382   "strong validator."
383</t>
384<t>
385   However, there might be cases when a server prefers to change the
386   validator only on semantically significant changes, and not when
387   insignificant aspects of the entity change. A validator that does not
388   always change when the resource changes is a "weak validator."
389</t>
390<t>
391   Entity tags are normally "strong validators," but the protocol
392   provides a mechanism to tag an entity tag as "weak." One can think of
393   a strong validator as one that changes whenever the bits of an entity
394   changes, while a weak value changes whenever the meaning of an entity
395   changes. Alternatively, one can think of a strong validator as part
396   of an identifier for a specific entity, while a weak validator is
397   part of an identifier for a set of semantically equivalent entities.
398  <list><t>
399      <x:h>Note:</x:h> One example of a strong validator is an integer that is
400      incremented in stable storage every time an entity is changed.
401    </t><t>
402      An entity's modification time, if represented with one-second
403      resolution, could be a weak validator, since it is possible that
404      the resource might be modified twice during a single second.
405    </t><t>
406      Support for weak validators is optional. However, weak validators
407      allow for more efficient caching of equivalent objects; for
408      example, a hit counter on a site is probably good enough if it is
409      updated every few days or weeks, and any value during that period
410      is likely "good enough" to be equivalent.
411    </t></list>
412</t>
413<t>
414   A "use" of a validator is either when a client generates a request
415   and includes the validator in a validating header field, or when a
416   server compares two validators.
417</t>
418<t>
419   Strong validators are usable in any context. Weak validators are only
420   usable in contexts that do not depend on exact equality of an entity.
421   For example, either kind is usable for a conditional GET of a full
422   entity. However, only a strong validator is usable for a sub-range
423   retrieval, since otherwise the client might end up with an internally
424   inconsistent entity.
425</t>
426<t>
427   Clients &MUST-NOT; use weak validators in range requests (<xref target="Part5"/>).
428</t>
429<t>
430   The only function that HTTP/1.1 defines on validators is
431   comparison. There are two validator comparison functions, depending
432   on whether the comparison context allows the use of weak validators
433   or not:
434  <list style="symbols">
435     <t>The strong comparison function: in order to be considered equal,
436        both validators &MUST; be identical in every way, and both &MUST-NOT;
437        be weak.</t>
438     <t>The weak comparison function: in order to be considered equal,
439        both validators &MUST; be identical in every way, but either or
440        both of them &MAY; be tagged as "weak" without affecting the
441        result.</t>
442  </list>
443</t>
444<t>
445   An entity tag is strong unless it is explicitly tagged as weak.
446   <xref target="entity.tags"/> gives the syntax for entity tags.
447</t>
448<t>
449   A Last-Modified time, when used as a validator in a request, is
450   implicitly weak unless it is possible to deduce that it is strong,
451   using the following rules:
452  <list style="symbols">
453     <t>The validator is being compared by an origin server to the
454        actual current validator for the entity and,</t>
455     <t>That origin server reliably knows that the associated entity did
456        not change twice during the second covered by the presented
457        validator.</t>
458  </list>
459</t>
460<t>
461   or
462  <list style="symbols">
463     <t>The validator is about to be used by a client in an If-Modified-Since
464        or If-Unmodified-Since header, because the client
465        has a cache entry for the associated entity, and</t>
466     <t>That cache entry includes a Date value, which gives the time
467        when the origin server sent the original response, and</t>
468     <t>The presented Last-Modified time is at least 60 seconds before
469        the Date value.</t>
470  </list>
471</t>
472<t>
473   or
474  <list style="symbols">
475     <t>The validator is being compared by an intermediate cache to the
476        validator stored in its cache entry for the entity, and</t>
477     <t>That cache entry includes a Date value, which gives the time
478        when the origin server sent the original response, and</t>
479     <t>The presented Last-Modified time is at least 60 seconds before
480        the Date value.</t>
481  </list>
482</t>
483<t>
484   This method relies on the fact that if two different responses were
485   sent by the origin server during the same second, but both had the
486   same Last-Modified time, then at least one of those responses would
487   have a Date value equal to its Last-Modified time. The arbitrary 60-second
488   limit guards against the possibility that the Date and Last-Modified
489   values are generated from different clocks, or at somewhat
490   different times during the preparation of the response. An
491   implementation &MAY; use a value larger than 60 seconds, if it is
492   believed that 60 seconds is too short.
493</t>
494<t>
495   If a client wishes to perform a sub-range retrieval on a value for
496   which it has only a Last-Modified time and no opaque validator, it
497   &MAY; do this only if the Last-Modified time is strong in the sense
498   described here.
499</t>
500<t>
501   A cache or origin server receiving a conditional range request
502   (<xref target="Part5"/>) &MUST; use the strong comparison function to
503   evaluate the condition.
504</t>
505<t>
506   These rules allow HTTP/1.1 caches and clients to safely perform sub-range
507   retrievals on values that have been obtained from HTTP/1.0
508   servers.
509</t>
510</section>
511
512<section title="Rules for When to Use Entity Tags and Last-Modified Dates" anchor="rules.for.when.to.use.entity.tags.and.last-modified.dates">
513<t>
514   We adopt a set of rules and recommendations for origin servers,
515   clients, and caches regarding when various validator types ought to
516   be used, and for what purposes.
517</t>
518<t>
519   HTTP/1.1 origin servers:
520  <list style="symbols">
521     <t>&SHOULD; send an entity tag validator unless it is not feasible to
522        generate one.</t>
523
524     <t>&MAY; send a weak entity tag instead of a strong entity tag, if
525        performance considerations support the use of weak entity tags,
526        or if it is unfeasible to send a strong entity tag.</t>
527
528     <t>&SHOULD; send a Last-Modified value if it is feasible to send one,
529        unless the risk of a breakdown in semantic transparency that
530        could result from using this date in an If-Modified-Since header
531        would lead to serious problems.</t>
532  </list>
533</t>
534<t>
535   In other words, the preferred behavior for an HTTP/1.1 origin server
536   is to send both a strong entity tag and a Last-Modified value.
537</t>
538<t>
539   In order to be legal, a strong entity tag &MUST; change whenever the
540   associated entity value changes in any way. A weak entity tag &SHOULD;
541   change whenever the associated entity changes in a semantically
542   significant way.
543  <list><t>
544      <x:h>Note:</x:h> in order to provide semantically transparent caching, an
545      origin server must avoid reusing a specific strong entity tag
546      value for two different entities, or reusing a specific weak
547      entity tag value for two semantically different entities. Cache
548      entries might persist for arbitrarily long periods, regardless of
549      expiration times, so it might be inappropriate to expect that a
550      cache will never again attempt to validate an entry using a
551      validator that it obtained at some point in the past.
552  </t></list>
553</t>
554<t>
555   HTTP/1.1 clients:
556  <list style="symbols">
557     <t>If an entity tag has been provided by the origin server, &MUST;
558        use that entity tag in any cache-conditional request (using If-Match
559        or If-None-Match).</t>
560
561     <t>If only a Last-Modified value has been provided by the origin
562        server, &SHOULD; use that value in non-subrange cache-conditional
563        requests (using If-Modified-Since).</t>
564
565     <t>If only a Last-Modified value has been provided by an HTTP/1.0
566        origin server, &MAY; use that value in subrange cache-conditional
567        requests (using If-Unmodified-Since:). The user agent &SHOULD;
568        provide a way to disable this, in case of difficulty.</t>
569
570     <t>If both an entity tag and a Last-Modified value have been
571        provided by the origin server, &SHOULD; use both validators in
572        cache-conditional requests. This allows both HTTP/1.0 and
573        HTTP/1.1 caches to respond appropriately.</t>
574  </list>
575</t>
576<t>
577   An HTTP/1.1 origin server, upon receiving a conditional request that
578   includes both a Last-Modified date (e.g., in an If-Modified-Since or
579   If-Unmodified-Since header field) and one or more entity tags (e.g.,
580   in an If-Match, If-None-Match, or If-Range header field) as cache
581   validators, &MUST-NOT; return a response status of 304 (Not Modified)
582   unless doing so is consistent with all of the conditional header
583   fields in the request.
584</t>
585<t>
586   An HTTP/1.1 caching proxy, upon receiving a conditional request that
587   includes both a Last-Modified date and one or more entity tags as
588   cache validators, &MUST-NOT; return a locally cached response to the
589   client unless that cached response is consistent with all of the
590   conditional header fields in the request.
591  <list><t>
592      <x:h>Note:</x:h> The general principle behind these rules is that HTTP/1.1
593      servers and clients should transmit as much non-redundant
594      information as is available in their responses and requests.
595      HTTP/1.1 systems receiving this information will make the most
596      conservative assumptions about the validators they receive.
597  </t><t>
598      HTTP/1.0 clients and caches will ignore entity tags. Generally,
599      last-modified values received or used by these systems will
600      support transparent and efficient caching, and so HTTP/1.1 origin
601      servers should provide Last-Modified values. In those rare cases
602      where the use of a Last-Modified value as a validator by an
603      HTTP/1.0 system could result in a serious problem, then HTTP/1.1
604      origin servers should not provide one.
605  </t></list>
606</t>
607</section>
608
609<section title="Header Field Definitions" anchor="header.fields">
610<t>
611   This section defines the syntax and semantics of HTTP/1.1 header fields
612   related to conditional requests.
613</t>
614<t>
615   For entity-header fields, both sender and recipient refer to either the
616   client or the server, depending on who sends and who receives the entity.
617</t>
618
619<section title="ETag" anchor="header.etag">
620  <iref primary="true" item="ETag header" x:for-anchor=""/>
621  <iref primary="true" item="Headers" subitem="ETag" x:for-anchor=""/>
622  <x:anchor-alias value="ETag"/>
623<t>
624   The ETag response-header field provides the current value of the
625   entity tag for the requested variant. The headers used with entity
626   tags are described in Sections <xref target="header.if-match" format="counter"/>
627   and <xref target="header.if-none-match" format="counter"/> of this document,
628   and in &header-if-range;. The entity tag
629   &MAY; be used for comparison with other entities from the same resource
630   (see <xref target="weak.and.strong.validators"/>).
631</t>
632<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ETag"/>
633  <x:ref>ETag</x:ref> = "ETag" ":" <x:ref>entity-tag</x:ref>
634</artwork></figure>
635<figure><preamble>
636   Examples:
637</preamble>
638<artwork type="example">
639   ETag: "xyzzy"
640   ETag: W/"xyzzy"
641   ETag: ""
642</artwork></figure>
643<t>
644   The ETag response-header field value, an entity tag, provides for an
645   "opaque" cache validator. This might allow more reliable validation
646   in situations where it is inconvenient to store modification dates,
647   where the one-second resolution of HTTP date values is not
648   sufficient, or where the origin server wishes to avoid certain
649   paradoxes that might arise from the use of modification dates.
650</t>
651<t>
652   The principle behind entity tags is that only the service author
653   knows the semantics of a resource well enough to select an
654   appropriate cache validation mechanism, and the specification of any
655   validator comparison function more complex than byte-equality would
656   open up a can of worms. Thus, comparisons of any other headers
657   (except Last-Modified, for compatibility with HTTP/1.0) are never
658   used for purposes of validating a cache entry.
659</t>
660</section>
661
662<section title="If-Match" anchor="header.if-match">
663  <iref primary="true" item="If-Match header" x:for-anchor=""/>
664  <iref primary="true" item="Headers" subitem="If-Match" x:for-anchor=""/>
665  <x:anchor-alias value="If-Match"/>
666<t>
667   The If-Match request-header field is used with a method to make it
668   conditional. A client that has one or more entities previously
669   obtained from the resource can verify that one of those entities is
670   current by including a list of their associated entity tags in the
671   If-Match header field. Entity tags are defined in <xref target="entity.tags"/>. The
672   purpose of this feature is to allow efficient updates of cached
673   information with a minimum amount of transaction overhead. It is also
674   used, on updating requests, to prevent inadvertent modification of
675   the wrong version of a resource. As a special case, the value "*"
676   matches any current entity of the resource.
677</t>
678<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Match"/>
679  <x:ref>If-Match</x:ref> = "If-Match" ":" ( "*" | 1#<x:ref>entity-tag</x:ref> )
680</artwork></figure>
681<t>
682   If any of the entity tags match the entity tag of the entity that
683   would have been returned in the response to a similar GET request
684   (without the If-Match header) on that resource, or if "*" is given
685   and any current entity exists for that resource, then the server &MAY;
686   perform the requested method as if the If-Match header field did not
687   exist.
688</t>
689<t>
690   A server &MUST; use the strong comparison function (see <xref target="weak.and.strong.validators"/>)
691   to compare the entity tags in If-Match.
692</t>
693<t>
694   If none of the entity tags match, or if "*" is given and no current
695   entity exists, the server &MUST-NOT; perform the requested method, and
696   &MUST; return a 412 (Precondition Failed) response. This behavior is
697   most useful when the client wants to prevent an updating method, such
698   as PUT, from modifying a resource that has changed since the client
699   last retrieved it.
700</t>
701<t>
702   If the request would, without the If-Match header field, result in
703   anything other than a 2xx or 412 status, then the If-Match header
704   &MUST; be ignored.
705</t>
706<t>
707   The meaning of "If-Match: *" is that the method &SHOULD; be performed
708   if the representation selected by the origin server (or by a cache,
709   possibly using the Vary mechanism, see &header-vary;) exists, and
710   &MUST-NOT; be performed if the representation does not exist.
711</t>
712<t>
713   A request intended to update a resource (e.g., a PUT) &MAY; include an
714   If-Match header field to signal that the request method &MUST-NOT; be
715   applied if the entity corresponding to the If-Match value (a single
716   entity tag) is no longer a representation of that resource. This
717   allows the user to indicate that they do not wish the request to be
718   successful if the resource has been changed without their knowledge.
719   Examples:
720</t>
721<figure><artwork type="example">
722    If-Match: "xyzzy"
723    If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
724    If-Match: *
725</artwork></figure>
726<t>
727   The result of a request having both an If-Match header field and
728   either an If-None-Match or an If-Modified-Since header fields is
729   undefined by this specification.
730</t>
731</section>
732
733<section title="If-Modified-Since" anchor="header.if-modified-since">
734  <iref primary="true" item="If-Modified-Since header" x:for-anchor=""/>
735  <iref primary="true" item="Headers" subitem="If-Modified-Since" x:for-anchor=""/>
736  <x:anchor-alias value="If-Modified-Since"/>
737<t>
738   The If-Modified-Since request-header field is used with a method to
739   make it conditional: if the requested variant has not been modified
740   since the time specified in this field, an entity will not be
741   returned from the server; instead, a 304 (Not Modified) response will
742   be returned without any message-body.
743</t>
744<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Modified-Since"/>
745  <x:ref>If-Modified-Since</x:ref> = "If-Modified-Since" ":" <x:ref>HTTP-date</x:ref>
746</artwork></figure>
747<t>
748   An example of the field is:
749</t>
750<figure><artwork type="example">
751    If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
752</artwork></figure>
753<t>
754   A GET method with an If-Modified-Since header and no Range header
755   requests that the identified entity be transferred only if it has
756   been modified since the date given by the If-Modified-Since header.
757   The algorithm for determining this includes the following cases:
758  <list style="numbers">
759      <t>If the request would normally result in anything other than a
760         200 (OK) status, or if the passed If-Modified-Since date is
761         invalid, the response is exactly the same as for a normal GET.
762         A date which is later than the server's current time is
763         invalid.</t>
764
765      <t>If the variant has been modified since the If-Modified-Since
766         date, the response is exactly the same as for a normal GET.</t>
767
768      <t>If the variant has not been modified since a valid If-Modified-Since
769         date, the server &SHOULD; return a 304 (Not
770         Modified) response.</t>
771  </list>
772</t>
773<t>
774   The purpose of this feature is to allow efficient updates of cached
775   information with a minimum amount of transaction overhead.
776  <list><t>
777      <x:h>Note:</x:h> The Range request-header field modifies the meaning of If-Modified-Since;
778      see &header-range; for full details.
779    </t><t>
780      <x:h>Note:</x:h> If-Modified-Since times are interpreted by the server, whose
781      clock might not be synchronized with the client.
782    </t><t>
783      <x:h>Note:</x:h> When handling an If-Modified-Since header field, some
784      servers will use an exact date comparison function, rather than a
785      less-than function, for deciding whether to send a 304 (Not
786      Modified) response. To get best results when sending an If-Modified-Since
787      header field for cache validation, clients are
788      advised to use the exact date string received in a previous Last-Modified
789      header field whenever possible.
790    </t><t>
791      <x:h>Note:</x:h> If a client uses an arbitrary date in the If-Modified-Since
792      header instead of a date taken from the Last-Modified header for
793      the same request, the client should be aware of the fact that this
794      date is interpreted in the server's understanding of time. The
795      client should consider unsynchronized clocks and rounding problems
796      due to the different encodings of time between the client and
797      server. This includes the possibility of race conditions if the
798      document has changed between the time it was first requested and
799      the If-Modified-Since date of a subsequent request, and the
800      possibility of clock-skew-related problems if the If-Modified-Since
801      date is derived from the client's clock without correction
802      to the server's clock. Corrections for different time bases
803      between client and server are at best approximate due to network
804      latency.
805    </t>
806  </list>
807</t>
808<t>
809   The result of a request having both an If-Modified-Since header field
810   and either an If-Match or an If-Unmodified-Since header fields is
811   undefined by this specification.
812</t>
813</section>
814
815<section title="If-None-Match" anchor="header.if-none-match">
816  <iref primary="true" item="If-None-Match header" x:for-anchor=""/>
817  <iref primary="true" item="Headers" subitem="If-None-Match" x:for-anchor=""/>
818  <x:anchor-alias value="If-None-Match"/>
819<t>
820   The If-None-Match request-header field is used with a method to make
821   it conditional. A client that has one or more entities previously
822   obtained from the resource can verify that none of those entities is
823   current by including a list of their associated entity tags in the
824   If-None-Match header field. The purpose of this feature is to allow
825   efficient updates of cached information with a minimum amount of
826   transaction overhead. It is also used to prevent a method (e.g. PUT)
827   from inadvertently modifying an existing resource when the client
828   believes that the resource does not exist.
829</t>
830<t>
831   As a special case, the value "*" matches any current entity of the
832   resource.
833</t>
834<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-None-Match"/>
835  <x:ref>If-None-Match</x:ref> = "If-None-Match" ":" ( "*" | 1#<x:ref>entity-tag</x:ref> )
836</artwork></figure>
837<t>
838   If any of the entity tags match the entity tag of the entity that
839   would have been returned in the response to a similar GET request
840   (without the If-None-Match header) on that resource, or if "*" is
841   given and any current entity exists for that resource, then the
842   server &MUST-NOT; perform the requested method, unless required to do
843   so because the resource's modification date fails to match that
844   supplied in an If-Modified-Since header field in the request.
845   Instead, if the request method was GET or HEAD, the server &SHOULD;
846   respond with a 304 (Not Modified) response, including the cache-related
847   header fields (particularly ETag) of one of the entities that
848   matched. For all other request methods, the server &MUST; respond with
849   a status of 412 (Precondition Failed).
850</t>
851<t>
852   See <xref target="weak.and.strong.validators"/> for rules on how to
853   determine if two entity tags match.
854</t>
855<t>
856   If none of the entity tags match, then the server &MAY; perform the
857   requested method as if the If-None-Match header field did not exist,
858   but &MUST; also ignore any If-Modified-Since header field(s) in the
859   request. That is, if no entity tags match, then the server &MUST-NOT;
860   return a 304 (Not Modified) response.
861</t>
862<t>
863   If the request would, without the If-None-Match header field, result
864   in anything other than a 2xx or 304 status, then the If-None-Match
865   header &MUST; be ignored. (See <xref target="rules.for.when.to.use.entity.tags.and.last-modified.dates"/> for a discussion of
866   server behavior when both If-Modified-Since and If-None-Match appear
867   in the same request.)
868</t>
869<t>
870   The meaning of "If-None-Match: *" is that the method &MUST-NOT; be
871   performed if the representation selected by the origin server (or by
872   a cache, possibly using the Vary mechanism, see &header-vary;)
873   exists, and &SHOULD; be performed if the representation does not exist.
874   This feature is intended to be useful in preventing races between PUT
875   operations.
876</t>
877<t>
878   Examples:
879</t>
880<figure><artwork type="example">
881    If-None-Match: "xyzzy"
882    If-None-Match: W/"xyzzy"
883    If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
884    If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"
885    If-None-Match: *
886</artwork></figure>
887<t>
888   The result of a request having both an If-None-Match header field and
889   either an If-Match or an If-Unmodified-Since header fields is
890   undefined by this specification.
891</t>
892</section>
893
894<section title="If-Unmodified-Since" anchor="header.if-unmodified-since">
895  <iref primary="true" item="If-Unmodified-Since header" x:for-anchor=""/>
896  <iref primary="true" item="Headers" subitem="If-Unmodified-Since" x:for-anchor=""/>
897  <x:anchor-alias value="If-Unmodified-Since"/>
898<t>
899   The If-Unmodified-Since request-header field is used with a method to
900   make it conditional. If the requested resource has not been modified
901   since the time specified in this field, the server &SHOULD; perform the
902   requested operation as if the If-Unmodified-Since header were not
903   present.
904</t>
905<t>
906   If the requested variant has been modified since the specified time,
907   the server &MUST-NOT; perform the requested operation, and &MUST; return
908   a 412 (Precondition Failed).
909</t>
910<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Unmodified-Since"/>
911  <x:ref>If-Unmodified-Since</x:ref> = "If-Unmodified-Since" ":" <x:ref>HTTP-date</x:ref>
912</artwork></figure>
913<t>
914   An example of the field is:
915</t>
916<figure><artwork type="example">
917    If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
918</artwork></figure>
919<t>
920   If the request normally (i.e., without the If-Unmodified-Since
921   header) would result in anything other than a 2xx or 412 status, the
922   If-Unmodified-Since header &SHOULD; be ignored.
923</t>
924<t>
925   If the specified date is invalid, the header is ignored.
926</t>
927<t>
928   The result of a request having both an If-Unmodified-Since header
929   field and either an If-None-Match or an If-Modified-Since header
930   fields is undefined by this specification.
931</t>
932</section>
933
934<section title="Last-Modified" anchor="header.last-modified">
935  <iref primary="true" item="Last-Modified header" x:for-anchor=""/>
936  <iref primary="true" item="Headers" subitem="Last-Modified" x:for-anchor=""/>
937  <x:anchor-alias value="Last-Modified"/>
938<t>
939   The Last-Modified entity-header field indicates the date and time at
940   which the origin server believes the variant was last modified.
941</t>
942<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Last-Modified"/>
943  <x:ref>Last-Modified</x:ref>  = "Last-Modified" ":" <x:ref>HTTP-date</x:ref>
944</artwork></figure>
945<t>
946   An example of its use is
947</t>
948<figure><artwork type="example">
949    Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
950</artwork></figure>
951<t>
952   The exact meaning of this header field depends on the implementation
953   of the origin server and the nature of the original resource. For
954   files, it may be just the file system last-modified time. For
955   entities with dynamically included parts, it may be the most recent
956   of the set of last-modify times for its component parts. For database
957   gateways, it may be the last-update time stamp of the record. For
958   virtual objects, it may be the last time the internal state changed.
959</t>
960<t>
961   An origin server &MUST-NOT; send a Last-Modified date which is later
962   than the server's time of message origination. In such cases, where
963   the resource's last modification would indicate some time in the
964   future, the server &MUST; replace that date with the message
965   origination date.
966</t>
967<t>
968   An origin server &SHOULD; obtain the Last-Modified value of the entity
969   as close as possible to the time that it generates the Date value of
970   its response. This allows a recipient to make an accurate assessment
971   of the entity's modification time, especially if the entity changes
972   near the time that the response is generated.
973</t>
974<t>
975   HTTP/1.1 servers &SHOULD; send Last-Modified whenever feasible.
976</t>
977<t>
978   The Last-Modified entity-header field value is often used as a cache
979   validator. In simple terms, a cache entry is considered to be valid
980   if the entity has not been modified since the Last-Modified value.
981</t>
982</section>
983
984</section>
985
986<section title="IANA Considerations" anchor="IANA.considerations">
987<t>
988   <cref>TBD.</cref>
989</t>
990</section>
991
992<section title="Security Considerations" anchor="security.considerations">
993<t>
994   No additional security considerations have been identified beyond
995   those applicable to HTTP in general &messaging;.
996</t>
997</section>
998
999<section title="Acknowledgments" anchor="ack">
1000</section>
1001</middle>
1002<back>
1003
1004<references title="Normative References">
1005
1006<reference anchor="Part1">
1007  <front>
1008    <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
1009    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1010      <organization abbrev="Day Software">Day Software</organization>
1011      <address><email>fielding@gbiv.com</email></address>
1012    </author>
1013    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1014      <organization>One Laptop per Child</organization>
1015      <address><email>jg@laptop.org</email></address>
1016    </author>
1017    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1018      <organization abbrev="HP">Hewlett-Packard Company</organization>
1019      <address><email>JeffMogul@acm.org</email></address>
1020    </author>
1021    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1022      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1023      <address><email>henrikn@microsoft.com</email></address>
1024    </author>
1025    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1026      <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1027      <address><email>LMM@acm.org</email></address>
1028    </author>
1029    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1030      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1031      <address><email>paulle@microsoft.com</email></address>
1032    </author>
1033    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1034      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1035      <address><email>timbl@w3.org</email></address>
1036    </author>
1037    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1038      <organization abbrev="W3C">World Wide Web Consortium</organization>
1039      <address><email>ylafon@w3.org</email></address>
1040    </author>
1041    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1042      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1043      <address><email>julian.reschke@greenbytes.de</email></address>
1044    </author>
1045    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1046  </front>
1047  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/>
1048  <x:source href="p1-messaging.xml" basename="p1-messaging"/>
1049</reference>
1050
1051<reference anchor="Part5">
1052  <front>
1053    <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
1054    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1055      <organization abbrev="Day Software">Day Software</organization>
1056      <address><email>fielding@gbiv.com</email></address>
1057    </author>
1058    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1059      <organization>One Laptop per Child</organization>
1060      <address><email>jg@laptop.org</email></address>
1061    </author>
1062    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1063      <organization abbrev="HP">Hewlett-Packard Company</organization>
1064      <address><email>JeffMogul@acm.org</email></address>
1065    </author>
1066    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1067      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1068      <address><email>henrikn@microsoft.com</email></address>
1069    </author>
1070    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1071      <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1072      <address><email>LMM@acm.org</email></address>
1073    </author>
1074    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1075      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1076      <address><email>paulle@microsoft.com</email></address>
1077    </author>
1078    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1079      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1080      <address><email>timbl@w3.org</email></address>
1081    </author>
1082    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1083      <organization abbrev="W3C">World Wide Web Consortium</organization>
1084      <address><email>ylafon@w3.org</email></address>
1085    </author>
1086    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1087      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1088      <address><email>julian.reschke@greenbytes.de</email></address>
1089    </author>
1090    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1091  </front>
1092  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;"/>
1093  <x:source href="p5-range.xml" basename="p5-range"/>
1094</reference>
1095
1096<reference anchor="Part6">
1097  <front>
1098    <title abbrev="HTTP/1.1">HTTP/1.1, part 6: Caching</title>
1099    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1100      <organization abbrev="Day Software">Day Software</organization>
1101      <address><email>fielding@gbiv.com</email></address>
1102    </author>
1103    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1104      <organization>One Laptop per Child</organization>
1105      <address><email>jg@laptop.org</email></address>
1106    </author>
1107    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1108      <organization abbrev="HP">Hewlett-Packard Company</organization>
1109      <address><email>JeffMogul@acm.org</email></address>
1110    </author>
1111    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1112      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1113      <address><email>henrikn@microsoft.com</email></address>
1114    </author>
1115    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1116      <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1117      <address><email>LMM@acm.org</email></address>
1118    </author>
1119    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1120      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1121      <address><email>paulle@microsoft.com</email></address>
1122    </author>
1123    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1124      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1125      <address><email>timbl@w3.org</email></address>
1126    </author>
1127    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1128      <organization abbrev="W3C">World Wide Web Consortium</organization>
1129      <address><email>ylafon@w3.org</email></address>
1130    </author>
1131    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1132      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1133      <address><email>julian.reschke@greenbytes.de</email></address>
1134    </author>
1135    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1136  </front>
1137  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/>
1138  <x:source href="p6-cache.xml" basename="p6-cache"/>
1139</reference>
1140
1141<reference anchor="RFC2119">
1142  <front>
1143    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
1144    <author initials="S." surname="Bradner" fullname="Scott Bradner">
1145      <organization>Harvard University</organization>
1146      <address><email>sob@harvard.edu</email></address>
1147    </author>
1148    <date month="March" year="1997"/>
1149  </front>
1150  <seriesInfo name="BCP" value="14"/>
1151  <seriesInfo name="RFC" value="2119"/>
1152</reference>
1153
1154</references>
1155
1156<references title="Informative References">
1157
1158<reference anchor="RFC2068">
1159  <front>
1160    <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
1161    <author initials="R." surname="Fielding" fullname="Roy T. Fielding">
1162      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
1163      <address><email>fielding@ics.uci.edu</email></address>
1164    </author>
1165    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1166      <organization>MIT Laboratory for Computer Science</organization>
1167      <address><email>jg@w3.org</email></address>
1168    </author>
1169    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1170      <organization>Digital Equipment Corporation, Western Research Laboratory</organization>
1171      <address><email>mogul@wrl.dec.com</email></address>
1172    </author>
1173    <author initials="H." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
1174      <organization>MIT Laboratory for Computer Science</organization>
1175      <address><email>frystyk@w3.org</email></address>
1176    </author>
1177    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1178      <organization>MIT Laboratory for Computer Science</organization>
1179      <address><email>timbl@w3.org</email></address>
1180    </author>
1181    <date month="January" year="1997"/>
1182  </front>
1183  <seriesInfo name="RFC" value="2068"/>
1184</reference>
1185
1186<reference anchor="RFC2616">
1187  <front>
1188    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
1189    <author initials="R." surname="Fielding" fullname="R. Fielding">
1190      <organization>University of California, Irvine</organization>
1191      <address><email>fielding@ics.uci.edu</email></address>
1192    </author>
1193    <author initials="J." surname="Gettys" fullname="J. Gettys">
1194      <organization>W3C</organization>
1195      <address><email>jg@w3.org</email></address>
1196    </author>
1197    <author initials="J." surname="Mogul" fullname="J. Mogul">
1198      <organization>Compaq Computer Corporation</organization>
1199      <address><email>mogul@wrl.dec.com</email></address>
1200    </author>
1201    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
1202      <organization>MIT Laboratory for Computer Science</organization>
1203      <address><email>frystyk@w3.org</email></address>
1204    </author>
1205    <author initials="L." surname="Masinter" fullname="L. Masinter">
1206      <organization>Xerox Corporation</organization>
1207      <address><email>masinter@parc.xerox.com</email></address>
1208    </author>
1209    <author initials="P." surname="Leach" fullname="P. Leach">
1210      <organization>Microsoft Corporation</organization>
1211      <address><email>paulle@microsoft.com</email></address>
1212    </author>
1213    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
1214      <organization>W3C</organization>
1215      <address><email>timbl@w3.org</email></address>
1216    </author>
1217    <date month="June" year="1999"/>
1218  </front>
1219  <seriesInfo name="RFC" value="2616"/>
1220</reference>
1221
1222</references>
1223
1224<section title="Compatibility with Previous Versions" anchor="compatibility">
1225
1226<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
1227<t>
1228  Allow weak entity tags in all requests except range requests (Sections
1229  <xref target="weak.and.strong.validators" format="counter"/> and
1230  <xref target="header.if-none-match" format="counter"/>).
1231</t>
1232</section>
1233
1234</section>
1235
1236<section title="Change Log (to be removed by RFC Editor before publication)">
1237
1238<section title="Since RFC2616">
1239<t>
1240  Extracted relevant partitions from <xref target="RFC2616"/>.
1241</t>
1242</section>
1243
1244<section title="Since draft-ietf-httpbis-p4-conditional-00">
1245<t>
1246  Closed issues:
1247  <list style="symbols"> 
1248    <t>
1249      <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35"/>:
1250      "Normative and Informative references"
1251    </t>
1252  </list>
1253</t>
1254<t>
1255  Other changes:
1256  <list style="symbols"> 
1257    <t>
1258      Move definitions of 304 and 412 condition codes from Part2.
1259    </t>
1260  </list>
1261</t>
1262</section>
1263
1264<section title="Since draft-ietf-httpbis-p4-conditional-01">
1265<t>
1266  Ongoing work on ABNF conversion (<eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
1267  <list style="symbols"> 
1268    <t>
1269      Add explicit references to BNF syntax and rules imported from other parts of the specification.
1270    </t>
1271  </list>
1272</t>
1273</section>
1274
1275<section title="Since draft-ietf-httpbis-p4-conditional-02">
1276<t>
1277  Closed issues:
1278  <list style="symbols"> 
1279    <t>
1280      <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/116"/>:
1281      "Weak ETags on non-GET requests"
1282    </t>
1283  </list>
1284</t>
1285</section>
1286
1287</section>
1288
1289</back>
1290</rfc>
Note: See TracBrowser for help on using the repository browser.