Ignore:
Timestamp:
Jan 1, 2008, 9:15:17 AM (12 years ago)
Author:
julian.reschke@…
Message:

Consistent indentation for all ABNF rules (addresses #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p4-conditional.html

    r129 r135  
    534534         ETag (<a href="#header.etag" id="rfc.xref.header.etag.1" title="ETag">Section&nbsp;6.1</a>), If-Match (<a href="#header.if-match" id="rfc.xref.header.if-match.1" title="If-Match">Section&nbsp;6.2</a>), If-None-Match (<a href="#header.if-none-match" id="rfc.xref.header.if-none-match.1" title="If-None-Match">Section&nbsp;6.4</a>), and If-Range (<a href="p5-range.html#header.if-range" title="If-Range">Section 5.3</a> of <a href="#Part5" id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>) header fields. The definition of how they are used and compared as cache validators is in <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>. An entity tag consists of an opaque quoted string, possibly prefixed by a weakness indicator.
    535535      </p>
    536       <div id="rfc.figure.u.1"></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>   entity-tag = [ weak ] opaque-tag
    537    weak       = "W/"
    538    opaque-tag = quoted-string
     536      <div id="rfc.figure.u.1"></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>  entity-tag = [ weak ] opaque-tag
     537  weak       = "W/"
     538  opaque-tag = quoted-string
    539539</pre><p id="rfc.section.2.p.3">A "strong entity tag" <em class="bcp14">MAY</em> be shared by two entities of a resource only if they are equivalent by octet equality.
    540540      </p>
     
    729729         entity tags are described in Sections <a href="#header.if-match" id="rfc.xref.header.if-match.2" title="If-Match">6.2</a> and <a href="#header.if-none-match" id="rfc.xref.header.if-none-match.2" title="If-None-Match">6.4</a> of this document, and in <a href="p5-range.html#header.if-range" title="If-Range">Section 5.3</a> of <a href="#Part5" id="rfc.xref.Part5.2"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>. The entity tag <em class="bcp14">MAY</em> be used for comparison with other entities from the same resource (see <a href="#weak.and.strong.validators" title="Weak and Strong Validators">Section&nbsp;4</a>).
    730730      </p>
    731       <div id="rfc.figure.u.2"></div><pre class="inline"><span id="rfc.iref.g.4"></span>    ETag = "ETag" ":" entity-tag
     731      <div id="rfc.figure.u.2"></div><pre class="inline"><span id="rfc.iref.g.4"></span>  ETag = "ETag" ":" entity-tag
    732732</pre><div id="rfc.figure.u.3"></div>
    733733      <p>Examples:</p>  <pre class="text">   ETag: "xyzzy"
     
    743743         case, the value "*" matches any current entity of the resource.
    744744      </p>
    745       <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.5"></span>    If-Match = "If-Match" ":" ( "*" | 1#entity-tag )
     745      <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.5"></span>  If-Match = "If-Match" ":" ( "*" | 1#entity-tag )
    746746</pre><p id="rfc.section.6.2.p.3">If any of the entity tags match the entity tag of the entity that would have been returned in the response to a similar GET
    747747         request (without the If-Match header) on that resource, or if "*" is given and any current entity exists for that resource,
     
    775775         modified) response will be returned without any message-body.
    776776      </p>
    777       <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.6"></span>    If-Modified-Since = "If-Modified-Since" ":" HTTP-date
     777      <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.6"></span>  If-Modified-Since = "If-Modified-Since" ":" HTTP-date
    778778</pre><p id="rfc.section.6.3.p.3">An example of the field is:</p>
    779779      <div id="rfc.figure.u.7"></div><pre class="text">    If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
     
    823823      </p>
    824824      <p id="rfc.section.6.4.p.2">As a special case, the value "*" matches any current entity of the resource.</p>
    825       <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.7"></span>    If-None-Match = "If-None-Match" ":" ( "*" | 1#entity-tag )
     825      <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.7"></span>  If-None-Match = "If-None-Match" ":" ( "*" | 1#entity-tag )
    826826</pre><p id="rfc.section.6.4.p.4">If any of the entity tags match the entity tag of the entity that would have been returned in the response to a similar GET
    827827         request (without the If-None-Match header) on that resource, or if "*" is given and any current entity exists for that resource,
     
    856856      <p id="rfc.section.6.5.p.2">If the requested variant has been modified since the specified time, the server <em class="bcp14">MUST NOT</em> perform the requested operation, and <em class="bcp14">MUST</em> return a 412 (Precondition Failed).
    857857      </p>
    858       <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.8"></span>   If-Unmodified-Since = "If-Unmodified-Since" ":" HTTP-date
     858      <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.8"></span>  If-Unmodified-Since = "If-Unmodified-Since" ":" HTTP-date
    859859</pre><p id="rfc.section.6.5.p.4">An example of the field is:</p>
    860860      <div id="rfc.figure.u.11"></div><pre class="text">    If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
     
    872872         modified.
    873873      </p>
    874       <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.9"></span>    Last-Modified  = "Last-Modified" ":" HTTP-date
     874      <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.9"></span>  Last-Modified  = "Last-Modified" ":" HTTP-date
    875875</pre><p id="rfc.section.6.6.p.3">An example of its use is</p>
    876876      <div id="rfc.figure.u.13"></div><pre class="text">    Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
Note: See TracChangeset for help on using the changeset viewer.