Changeset 2263 for draft-ietf-httpbis
- Timestamp:
- 20/05/13 00:24:21 (10 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/httpbis.abnf
r2181 r2263 134 134 field-value = *( field-content / obs-fold ) 135 135 first-byte-pos = 1*DIGIT 136 header-field = field-name ":" OWS field-value BWS136 header-field = field-name ":" OWS field-value OWS 137 137 hour = 2DIGIT 138 138 http-URI = "http://" authority path-abempty [ "?" query ] -
draft-ietf-httpbis/latest/p1-messaging.html
r2262 r2263 1195 1195 <div id="rfc.figure.u.17"></div><pre class="inline"><span id="rfc.iref.g.33"></span> <a href="#status.line" class="smpl">reason-phrase</a> = *( <a href="#core.rules" class="smpl">HTAB</a> / <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">VCHAR</a> / <a href="#rule.quoted-string" class="smpl">obs-text</a> ) 1196 1196 </pre><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> <a id="header.fields" href="#header.fields">Header Fields</a></h2> 1197 <p id="rfc.section.3.2.p.1">Each HTTP header field consists of a case-insensitive field name followed by a colon (":"), optional whitespace, and the field1198 value.1199 </p> 1200 <div id="rfc.figure.u.18"></div><pre class="inline"><span id="rfc.iref.g.34"></span><span id="rfc.iref.g.35"></span><span id="rfc.iref.g.36"></span><span id="rfc.iref.g.37"></span><span id="rfc.iref.g.38"></span> <a href="#header.fields" class="smpl">header-field</a> = <a href="#header.fields" class="smpl">field-name</a> ":" <a href="#rule.whitespace" class="smpl">OWS</a> <a href="#header.fields" class="smpl">field-value</a> <a href="#rule.whitespace" class="smpl"> BWS</a>1197 <p id="rfc.section.3.2.p.1">Each HTTP header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the 1198 field value, and optional trailing whitespace. 1199 </p> 1200 <div id="rfc.figure.u.18"></div><pre class="inline"><span id="rfc.iref.g.34"></span><span id="rfc.iref.g.35"></span><span id="rfc.iref.g.36"></span><span id="rfc.iref.g.37"></span><span id="rfc.iref.g.38"></span> <a href="#header.fields" class="smpl">header-field</a> = <a href="#header.fields" class="smpl">field-name</a> ":" <a href="#rule.whitespace" class="smpl">OWS</a> <a href="#header.fields" class="smpl">field-value</a> <a href="#rule.whitespace" class="smpl">OWS</a> 1201 1201 <a href="#header.fields" class="smpl">field-name</a> = <a href="#rule.token.separators" class="smpl">token</a> 1202 1202 <a href="#header.fields" class="smpl">field-value</a> = *( <a href="#header.fields" class="smpl">field-content</a> / <a href="#header.fields" class="smpl">obs-fold</a> ) … … 1269 1269 <p id="rfc.section.3.2.4.p.2">A field value is preceded by optional whitespace (OWS); a single SP is preferred. The field value does not include any leading 1270 1270 or trailing white space: OWS occurring before the first non-whitespace octet of the field value or after the last non-whitespace 1271 octet of the field value is ignored and <em class="bcp14">SHOULD</em> be removed before further processing (as this does not change the meaning of the header field).1271 octet of the field value ought to be excluded by parsers when extracting the field value from a header field. 1272 1272 </p> 1273 1273 <p id="rfc.section.3.2.4.p.3">A recipient of field-content containing multiple sequential octets of optional (OWS) or required (RWS) whitespace <em class="bcp14">SHOULD</em> either replace the sequence with a single SP or transform any non-SP octets in the sequence to SP octets before interpreting … … 3019 3019 <a href="#header.fields" class="smpl">field-value</a> = *( field-content / obs-fold ) 3020 3020 3021 <a href="#header.fields" class="smpl">header-field</a> = field-name ":" OWS field-value BWS3021 <a href="#header.fields" class="smpl">header-field</a> = field-name ":" OWS field-value OWS 3022 3022 <a href="#http.uri" class="smpl">http-URI</a> = "http://" authority path-abempty [ "?" query ] 3023 3023 <a href="#https.uri" class="smpl">https-URI</a> = "https://" authority path-abempty [ "?" query ] -
draft-ietf-httpbis/latest/p1-messaging.xml
r2262 r2263 1166 1166 <t> 1167 1167 Each HTTP header field consists of a case-insensitive field name 1168 followed by a colon (":"), optional whitespace, and the field value. 1168 followed by a colon (":"), optional leading whitespace, the field value, 1169 and optional trailing whitespace. 1169 1170 </t> 1170 1171 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="header-field"/><iref primary="true" item="Grammar" subitem="field-name"/><iref primary="true" item="Grammar" subitem="field-value"/><iref primary="true" item="Grammar" subitem="field-content"/><iref primary="true" item="Grammar" subitem="obs-fold"/> 1171 <x:ref>header-field</x:ref> = <x:ref>field-name</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>field-value</x:ref> <x:ref> BWS</x:ref>1172 <x:ref>header-field</x:ref> = <x:ref>field-name</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>field-value</x:ref> <x:ref>OWS</x:ref> 1172 1173 <x:ref>field-name</x:ref> = <x:ref>token</x:ref> 1173 1174 <x:ref>field-value</x:ref> = *( <x:ref>field-content</x:ref> / <x:ref>obs-fold</x:ref> ) … … 1298 1299 A field value is preceded by optional whitespace (OWS); a single SP is 1299 1300 preferred. The field value does not include any leading or trailing white 1300 space: OWS occurring before the first non-whitespace octet of the 1301 field value or after the last non-whitespace octet of the field value 1302 is ignored and &SHOULD; be removed before further processing (as this does 1303 not change the meaning of the header field). 1301 space: OWS occurring before the first non-whitespace octet of the field 1302 value or after the last non-whitespace octet of the field value ought to be 1303 excluded by parsers when extracting the field value from a header field. 1304 1304 </t> 1305 1305 <t> … … 5102 5102 <x:ref>field-value</x:ref> = *( field-content / obs-fold ) 5103 5103 5104 <x:ref>header-field</x:ref> = field-name ":" OWS field-value BWS5104 <x:ref>header-field</x:ref> = field-name ":" OWS field-value OWS 5105 5105 <x:ref>http-URI</x:ref> = "http://" authority path-abempty [ "?" query ] 5106 5106 <x:ref>https-URI</x:ref> = "https://" authority path-abempty [ "?" query ]
Note: See TracChangeset
for help on using the changeset viewer.