Ignore:
Timestamp:
Nov 12, 2008, 3:02:03 PM (11 years ago)
Author:
julian.reschke@…
Message:

s/chunk-extension/chunk-ext/ (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r351 r352  
    10111011  <x:anchor-alias value="Chunked-Body"/>
    10121012  <x:anchor-alias value="chunk-data"/>
    1013   <x:anchor-alias value="chunk-extension"/>
     1013  <x:anchor-alias value="chunk-ext"/>
    10141014  <x:anchor-alias value="chunk-ext-name"/>
    10151015  <x:anchor-alias value="chunk-ext-val"/>
     
    10251025   received the full message.
    10261026</t>
    1027 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Chunked-Body"/><iref primary="true" item="Grammar" subitem="chunk"/><iref primary="true" item="Grammar" subitem="chunk-size"/><iref primary="true" item="Grammar" subitem="last-chunk"/><iref primary="true" item="Grammar" subitem="chunk-extension"/><iref primary="true" item="Grammar" subitem="chunk-ext-name"/><iref primary="true" item="Grammar" subitem="chunk-ext-val"/><iref primary="true" item="Grammar" subitem="chunk-data"/><iref primary="true" item="Grammar" subitem="trailer-part"/>
     1027<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Chunked-Body"/><iref primary="true" item="Grammar" subitem="chunk"/><iref primary="true" item="Grammar" subitem="chunk-size"/><iref primary="true" item="Grammar" subitem="last-chunk"/><iref primary="true" item="Grammar" subitem="chunk-ext"/><iref primary="true" item="Grammar" subitem="chunk-ext-name"/><iref primary="true" item="Grammar" subitem="chunk-ext-val"/><iref primary="true" item="Grammar" subitem="chunk-data"/><iref primary="true" item="Grammar" subitem="trailer-part"/>
    10281028  <x:ref>Chunked-Body</x:ref>   = *<x:ref>chunk</x:ref>
    10291029                   <x:ref>last-chunk</x:ref>
     
    10311031                   <x:ref>CRLF</x:ref>
    10321032 
    1033   <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-extension</x:ref> ] <x:ref>CRLF</x:ref>
     1033  <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    10341034                   <x:ref>chunk-data</x:ref> <x:ref>CRLF</x:ref>
    10351035  <x:ref>chunk-size</x:ref>     = 1*<x:ref>HEXDIG</x:ref>
    1036   <x:ref>last-chunk</x:ref>     = 1*("0") [ <x:ref>chunk-extension</x:ref> ] <x:ref>CRLF</x:ref>
     1036  <x:ref>last-chunk</x:ref>     = 1*("0") [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    10371037 
    1038   <x:ref>chunk-extension</x:ref>= *( ";" <x:ref>chunk-ext-name</x:ref> [ "=" <x:ref>chunk-ext-val</x:ref> ] )
     1038  <x:ref>chunk-ext</x:ref>      = *( ";" <x:ref>chunk-ext-name</x:ref> [ "=" <x:ref>chunk-ext-val</x:ref> ] )
    10391039  <x:ref>chunk-ext-name</x:ref> = <x:ref>token</x:ref>
    10401040  <x:ref>chunk-ext-val</x:ref>  = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     
    10821082</t>
    10831083<figure><artwork type="code">
    1084     length := 0
    1085     read chunk-size, chunk-extension (if any) and CRLF
    1086     while (chunk-size &gt; 0) {
    1087        read chunk-data and CRLF
    1088        append chunk-data to entity-body
    1089        length := length + chunk-size
    1090        read chunk-size and CRLF
    1091     }
    1092     read entity-header
    1093     while (entity-header not empty) {
    1094        append entity-header to existing header fields
    1095        read entity-header
    1096     }
    1097     Content-Length := length
    1098     Remove "chunked" from Transfer-Encoding
     1084  length := 0
     1085  read chunk-size, chunk-ext (if any) and CRLF
     1086  while (chunk-size &gt; 0) {
     1087     read chunk-data and CRLF
     1088     append chunk-data to entity-body
     1089     length := length + chunk-size
     1090     read chunk-size and CRLF
     1091  }
     1092  read entity-header
     1093  while (entity-header not empty) {
     1094     append entity-header to existing header fields
     1095     read entity-header
     1096  }
     1097  Content-Length := length
     1098  Remove "chunked" from Transfer-Encoding
    10991099</artwork></figure>
    11001100<t>
    11011101   All HTTP/1.1 applications &MUST; be able to receive and decode the
    1102    "chunked" transfer-coding, and &MUST; ignore chunk-extension extensions
     1102   "chunked" transfer-coding, and &MUST; ignore chunk-ext extensions
    11031103   they do not understand.
    11041104</t>
Note: See TracChangeset for help on using the changeset viewer.