Changeset 434 for draft-ietf-httpbis


Ignore:
Timestamp:
01/12/08 17:54:22 (11 years ago)
Author:
julian.reschke@…
Message:

adjust whitespace in ABNF; make name of header value production for "Range" consistent with other headers (related to #36 and #85)

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p5-range.html

    r433 r434  
    697697 
    698698  <a href="#header.content-range" class="smpl">content-range-spec</a>      = <a href="#header.content-range" class="smpl">byte-content-range-spec</a>
    699                               / <a href="#header.content-range" class="smpl">other-content-range-spec</a>
     699                          / <a href="#header.content-range" class="smpl">other-content-range-spec</a>
    700700  <a href="#header.content-range" class="smpl">byte-content-range-spec</a> = <a href="#range.units" class="smpl">bytes-unit</a> <a href="#notation" class="smpl">SP</a>
    701701                            <a href="#header.content-range" class="smpl">byte-range-resp-spec</a> "/"
     
    799799      <div id="rfc.figure.u.15"></div><pre class="inline"><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span><span id="rfc.iref.g.18"></span><span id="rfc.iref.g.19"></span><span id="rfc.iref.g.20"></span>  <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a> = <a href="#range.units" class="smpl">bytes-unit</a> "=" <a href="#rule.ranges-specifier" class="smpl">byte-range-set</a>
    800800  <a href="#rule.ranges-specifier" class="smpl">byte-range-set</a>  = 1#( <a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> / <a href="#rule.ranges-specifier" class="smpl">suffix-byte-range-spec</a> )
    801   <a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> = <a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a> "-" [<a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a>]
     801  <a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> = <a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a> "-" [ <a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a> ]
    802802  <a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a>  = 1*<a href="#notation" class="smpl">DIGIT</a>
    803803  <a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a>   = 1*<a href="#notation" class="smpl">DIGIT</a>
     
    837837         to the entity returned as the result of the request:
    838838      </p>
    839       <div id="rfc.figure.u.17"></div><pre class="inline"><span id="rfc.iref.g.23"></span>  <a href="#range.retrieval.requests" class="smpl">Range</a> = "Range" ":" <a href="#rule.ranges-specifier" class="smpl">ranges-specifier</a>
    840   <a href="#rule.ranges-specifier" class="smpl">ranges-specifier</a>      = <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a>
    841                            / <a href="#rule.ranges-specifier" class="smpl">other-ranges-specifier</a>
     839      <div id="rfc.figure.u.17"></div><pre class="inline"><span id="rfc.iref.g.23"></span>  <a href="#range.retrieval.requests" class="smpl">Range</a>   = "Range" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#range.retrieval.requests" class="smpl">Range-v</a>
     840  <a href="#range.retrieval.requests" class="smpl">Range-v</a> = <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a>
     841          / <a href="#rule.ranges-specifier" class="smpl">other-ranges-specifier</a>
    842842  <a href="#rule.ranges-specifier" class="smpl">other-ranges-specifier</a> = 1*<a href="#notation" class="smpl">CHAR</a>
    843843</pre><p id="rfc.section.5.4.2.p.3">A server <em class="bcp14">MAY</em> ignore the Range header. However, HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible,
     
    11021102<a href="#core.rules" class="smpl">OWS</a> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
    11031103
    1104 <a href="#range.retrieval.requests" class="smpl">Range</a> = "Range:" ranges-specifier
     1104<a href="#range.retrieval.requests" class="smpl">Range</a> = "Range:" OWS Range-v
     1105<a href="#range.retrieval.requests" class="smpl">Range-v</a> = byte-ranges-specifier / other-ranges-specifier
    11051106
    11061107<a href="#header.accept-ranges" class="smpl">acceptable-ranges</a> = ( *( "," OWS ) range-unit *( OWS "," [ OWS
     
    11341135
    11351136<a href="#range.units" class="smpl">range-unit</a> = bytes-unit / other-range-unit
    1136 <a href="#rule.ranges-specifier" class="smpl">ranges-specifier</a> = byte-ranges-specifier / other-ranges-specifier
    11371137
    11381138<a href="#rule.ranges-specifier" class="smpl">suffix-byte-range-spec</a> = "-" suffix-length
  • draft-ietf-httpbis/latest/p5-range.xml

    r433 r434  
    505505 
    506506  <x:ref>content-range-spec</x:ref>      = <x:ref>byte-content-range-spec</x:ref>
    507                               / <x:ref>other-content-range-spec</x:ref>
     507                          / <x:ref>other-content-range-spec</x:ref>
    508508  <x:ref>byte-content-range-spec</x:ref> = <x:ref>bytes-unit</x:ref> <x:ref>SP</x:ref>
    509509                            <x:ref>byte-range-resp-spec</x:ref> "/"
     
    707707  <x:ref>byte-ranges-specifier</x:ref> = <x:ref>bytes-unit</x:ref> "=" <x:ref>byte-range-set</x:ref>
    708708  <x:ref>byte-range-set</x:ref>  = 1#( <x:ref>byte-range-spec</x:ref> / <x:ref>suffix-byte-range-spec</x:ref> )
    709   <x:ref>byte-range-spec</x:ref> = <x:ref>first-byte-pos</x:ref> "-" [<x:ref>last-byte-pos</x:ref>]
     709  <x:ref>byte-range-spec</x:ref> = <x:ref>first-byte-pos</x:ref> "-" [ <x:ref>last-byte-pos</x:ref> ]
    710710  <x:ref>first-byte-pos</x:ref>  = 1*<x:ref>DIGIT</x:ref>
    711711  <x:ref>last-byte-pos</x:ref>   = 1*<x:ref>DIGIT</x:ref>
     
    791791</t>
    792792<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Range"/>
    793   <x:ref>Range</x:ref> = "Range" ":" <x:ref>ranges-specifier</x:ref>
    794   <x:ref>ranges-specifier</x:ref>      = <x:ref>byte-ranges-specifier</x:ref>
    795                            / <x:ref>other-ranges-specifier</x:ref>
     793  <x:ref>Range</x:ref>   = "Range" ":" <x:ref>OWS</x:ref> <x:ref>Range-v</x:ref>
     794  <x:ref>Range-v</x:ref> = <x:ref>byte-ranges-specifier</x:ref>
     795          / <x:ref>other-ranges-specifier</x:ref>
    796796  <x:ref>other-ranges-specifier</x:ref> = 1*<x:ref>CHAR</x:ref>
    797797</artwork></figure>
     
    13911391<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
    13921392
    1393 <x:ref>Range</x:ref> = "Range:" ranges-specifier
     1393<x:ref>Range</x:ref> = "Range:" OWS Range-v
     1394<x:ref>Range-v</x:ref> = byte-ranges-specifier / other-ranges-specifier
    13941395
    13951396<x:ref>acceptable-ranges</x:ref> = ( *( "," OWS ) range-unit *( OWS "," [ OWS
     
    14231424
    14241425<x:ref>range-unit</x:ref> = bytes-unit / other-range-unit
    1425 <x:ref>ranges-specifier</x:ref> = byte-ranges-specifier / other-ranges-specifier
    14261426
    14271427<x:ref>suffix-byte-range-spec</x:ref> = "-" suffix-length
     
    14391439</figure>
    14401440</section>
     1441
    14411442
    14421443<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
Note: See TracChangeset for help on using the changeset viewer.