Changeset 352 for draft-ietf-httpbis/latest/p1-messaging.xml
- Timestamp:
- Nov 12, 2008, 3:02:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p1-messaging.xml
r351 r352 1011 1011 <x:anchor-alias value="Chunked-Body"/> 1012 1012 <x:anchor-alias value="chunk-data"/> 1013 <x:anchor-alias value="chunk-ext ension"/>1013 <x:anchor-alias value="chunk-ext"/> 1014 1014 <x:anchor-alias value="chunk-ext-name"/> 1015 1015 <x:anchor-alias value="chunk-ext-val"/> … … 1025 1025 received the full message. 1026 1026 </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-ext ension"/><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"/> 1028 1028 <x:ref>Chunked-Body</x:ref> = *<x:ref>chunk</x:ref> 1029 1029 <x:ref>last-chunk</x:ref> … … 1031 1031 <x:ref>CRLF</x:ref> 1032 1032 1033 <x:ref>chunk</x:ref> = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-ext ension</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> 1034 1034 <x:ref>chunk-data</x:ref> <x:ref>CRLF</x:ref> 1035 1035 <x:ref>chunk-size</x:ref> = 1*<x:ref>HEXDIG</x:ref> 1036 <x:ref>last-chunk</x:ref> = 1*("0") [ <x:ref>chunk-ext ension</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> 1037 1037 1038 <x:ref>chunk-ext ension</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> ] ) 1039 1039 <x:ref>chunk-ext-name</x:ref> = <x:ref>token</x:ref> 1040 1040 <x:ref>chunk-ext-val</x:ref> = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> … … 1082 1082 </t> 1083 1083 <figure><artwork type="code"> 1084 1085 read chunk-size, chunk-extension(if any) and CRLF1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1084 length := 0 1085 read chunk-size, chunk-ext (if any) and CRLF 1086 while (chunk-size > 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 1099 1099 </artwork></figure> 1100 1100 <t> 1101 1101 All HTTP/1.1 applications &MUST; be able to receive and decode the 1102 "chunked" transfer-coding, and &MUST; ignore chunk-ext ensionextensions1102 "chunked" transfer-coding, and &MUST; ignore chunk-ext extensions 1103 1103 they do not understand. 1104 1104 </t>
Note: See TracChangeset
for help on using the changeset viewer.