Changeset 1546 for draft-ietf-httpbis/latest
- Timestamp:
- 21/02/12 07:26:30 (11 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/httpbis.abnf
r1538 r1546 44 44 Max-Forwards = 1*DIGIT 45 45 Method = token 46 OWS = *( SP / HTAB / obs-fold)46 OWS = *( SP / HTAB ) 47 47 Pragma = *( "," OWS ) pragma-directive *( OWS "," [ OWS pragma-directive ] ) 48 48 Proxy-Authenticate = *( "," OWS ) challenge *( OWS "," [ OWS challenge ] ) 49 49 Proxy-Authorization = credentials 50 RWS = 1*( SP / HTAB / obs-fold)50 RWS = 1*( SP / HTAB ) 51 51 Range = byte-ranges-specifier / other-ranges-specifier 52 52 Reason-Phrase = *( HTAB / SP / VCHAR / obs-text ) -
draft-ietf-httpbis/latest/p1-messaging.html
r1544 r1546 1287 1287 value. 1288 1288 </p> 1289 <div id="rfc.figure.u.19"></div><pre class="inline"><span id="rfc.iref.g.33"></span><span id="rfc.iref.g.34"></span><span id="rfc.iref.g.35"></span><span id="rfc.iref.g.36"></span> <a href="#header.fields" class="smpl">header-field</a> = <a href="#header.fields" class="smpl">field-name</a> ":" <a href="#header.fields" class="smpl">OWS</a> <a href="#header.fields" class="smpl">field-value</a> <a href="#rule.whitespace" class="smpl">BWS</a>1289 <div id="rfc.figure.u.19"></div><pre class="inline"><span id="rfc.iref.g.33"></span><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> <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> 1290 1290 <a href="#header.fields" class="smpl">field-name</a> = <a href="#rule.token.separators" class="smpl">token</a> 1291 <a href="#header.fields" class="smpl">field-value</a> = *( <a href="#header.fields" class="smpl">field-content</a> / <a href="# rule.whitespace" class="smpl">obs-fold</a> )1291 <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> ) 1292 1292 <a href="#header.fields" class="smpl">field-content</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> ) 1293 <a href="#header.fields" class="smpl">obs-fold</a> = <a href="#core.rules" class="smpl">CRLF</a> ( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> ) 1294 ; obsolete line folding 1295 ; see <a href="#field.parsing" title="Field Parsing">Section 3.2.2</a> 1293 1296 </pre><p id="rfc.section.3.2.p.3">The field-name token labels the corresponding field-value as having the semantics defined by that header field. For example, 1294 1297 the Date header field is defined in <a href="p2-semantics.html#header.date" title="Date">Section 10.2</a> of <a href="#Part2" id="rfc.xref.Part2.6"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a> as containing the origination timestamp for the message in which it appears. … … 1339 1342 </div> 1340 1343 <div id="rule.whitespace"> 1341 <p id="rfc.section.3.2.1.p.5"> 1344 <p id="rfc.section.3.2.1.p.5"> </p> 1342 1345 </div> 1343 <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.3 7"></span><span id="rfc.iref.g.38"></span><span id="rfc.iref.g.39"></span> <a href="#header.fields" class="smpl">OWS</a> = *( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> / obs-fold)1346 <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.38"></span><span id="rfc.iref.g.39"></span><span id="rfc.iref.g.40"></span> <a href="#rule.whitespace" class="smpl">OWS</a> = *( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> ) 1344 1347 ; "optional" whitespace 1345 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> / obs-fold)1348 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> ) 1346 1349 ; "required" whitespace 1347 <a href="#rule.whitespace" class="smpl">BWS</a> = <a href="# header.fields" class="smpl">OWS</a>1350 <a href="#rule.whitespace" class="smpl">BWS</a> = <a href="#rule.whitespace" class="smpl">OWS</a> 1348 1351 ; "bad" whitespace 1349 <a href="#rule.whitespace" class="smpl">obs-fold</a> = <a href="#core.rules" class="smpl">CRLF</a> ( <a href="#core.rules" class="smpl">SP</a> / <a href="#core.rules" class="smpl">HTAB</a> )1350 ; obsolete line folding1351 ; see <a href="#field.parsing" title="Field Parsing">Section 3.2.2</a>1352 1352 </pre><h3 id="rfc.section.3.2.2"><a href="#rfc.section.3.2.2">3.2.2</a> <a id="field.parsing" href="#field.parsing">Field Parsing</a></h3> 1353 1353 <p id="rfc.section.3.2.2.p.1">No whitespace is allowed between the header field-name and colon. In the past, differences in the handling of such whitespace … … 1361 1361 <p id="rfc.section.3.2.2.p.3">Historically, HTTP header field values could be extended over multiple lines by preceding each extra line with at least one 1362 1362 space or horizontal tab (obs-fold). This specification deprecates such line folding except within the message/http media type 1363 (<a href="#internet.media.type.message.http" title="Internet Media Type message/http">Section 9.3.1</a>). HTTP senders <em class="bcp14">MUST NOT</em> produce messages that include line folding (i.e., that contain any field- contentthat matches the obs-fold rule) unless the1363 (<a href="#internet.media.type.message.http" title="Internet Media Type message/http">Section 9.3.1</a>). HTTP senders <em class="bcp14">MUST NOT</em> produce messages that include line folding (i.e., that contain any field-value that matches the obs-fold rule) unless the 1364 1364 message is intended for packaging within the message/http media type. HTTP recipients <em class="bcp14">SHOULD</em> accept line folding and replace any embedded obs-fold whitespace with either a single SP or a matching number of SP octets 1365 1365 (to avoid buffer copying) prior to interpreting the field value or forwarding the message downstream. … … 1380 1380 </p> 1381 1381 </div> 1382 <div id="rfc.figure.u.21"></div><pre class="inline"><span id="rfc.iref.g.4 0"></span><span id="rfc.iref.g.41"></span><span id="rfc.iref.g.42"></span><span id="rfc.iref.g.43"></span> <a href="#rule.token.separators" class="smpl">word</a> = <a href="#rule.token.separators" class="smpl">token</a> / <a href="#rule.quoted-string" class="smpl">quoted-string</a>1382 <div id="rfc.figure.u.21"></div><pre class="inline"><span id="rfc.iref.g.41"></span><span id="rfc.iref.g.42"></span><span id="rfc.iref.g.43"></span><span id="rfc.iref.g.44"></span> <a href="#rule.token.separators" class="smpl">word</a> = <a href="#rule.token.separators" class="smpl">token</a> / <a href="#rule.quoted-string" class="smpl">quoted-string</a> 1383 1383 1384 1384 <a href="#rule.token.separators" class="smpl">token</a> = 1*<a href="#rule.token.separators" class="smpl">tchar</a> … … 1395 1395 <p id="rfc.section.3.2.4.p.3"> A string of text is parsed as a single word if it is quoted using double-quote marks.</p> 1396 1396 </div> 1397 <div id="rfc.figure.u.22"></div><pre class="inline"><span id="rfc.iref.g.4 4"></span><span id="rfc.iref.g.45"></span><span id="rfc.iref.g.46"></span> <a href="#rule.quoted-string" class="smpl">quoted-string</a> = <a href="#core.rules" class="smpl">DQUOTE</a> *( <a href="#rule.quoted-string" class="smpl">qdtext</a> / <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> ) <a href="#core.rules" class="smpl">DQUOTE</a>1398 <a href="#rule.quoted-string" class="smpl">qdtext</a> = <a href="# header.fields" class="smpl">OWS</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>1397 <div id="rfc.figure.u.22"></div><pre class="inline"><span id="rfc.iref.g.45"></span><span id="rfc.iref.g.46"></span><span id="rfc.iref.g.47"></span> <a href="#rule.quoted-string" class="smpl">quoted-string</a> = <a href="#core.rules" class="smpl">DQUOTE</a> *( <a href="#rule.quoted-string" class="smpl">qdtext</a> / <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> ) <a href="#core.rules" class="smpl">DQUOTE</a> 1398 <a href="#rule.quoted-string" class="smpl">qdtext</a> = <a href="#rule.whitespace" class="smpl">OWS</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a> 1399 1399 <a href="#rule.quoted-string" class="smpl">obs-text</a> = %x80-FF 1400 1400 </pre><div id="rule.quoted-pair"> 1401 1401 <p id="rfc.section.3.2.4.p.5"> The backslash octet ("\") can be used as a single-octet quoting mechanism within quoted-string constructs:</p> 1402 1402 </div> 1403 <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.4 7"></span> <a href="#rule.quoted-pair" class="smpl">quoted-pair</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> )1403 <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.48"></span> <a href="#rule.quoted-pair" class="smpl">quoted-pair</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> ) 1404 1404 </pre><p id="rfc.section.3.2.4.p.7">Recipients that process the value of the quoted-string <em class="bcp14">MUST</em> handle a quoted-pair as if it were replaced by the octet following the backslash. 1405 1405 </p> … … 1411 1411 </p> 1412 1412 </div> 1413 <div id="rfc.figure.u.24"></div><pre class="inline"><span id="rfc.iref.g.4 8"></span><span id="rfc.iref.g.49"></span> <a href="#rule.comment" class="smpl">comment</a> = "(" *( <a href="#rule.comment" class="smpl">ctext</a> / <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</a> / <a href="#rule.comment" class="smpl">comment</a> ) ")"1414 <a href="#rule.comment" class="smpl">ctext</a> = <a href="# header.fields" class="smpl">OWS</a> / %x21-27 / %x2A-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>1413 <div id="rfc.figure.u.24"></div><pre class="inline"><span id="rfc.iref.g.49"></span><span id="rfc.iref.g.50"></span> <a href="#rule.comment" class="smpl">comment</a> = "(" *( <a href="#rule.comment" class="smpl">ctext</a> / <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</a> / <a href="#rule.comment" class="smpl">comment</a> ) ")" 1414 <a href="#rule.comment" class="smpl">ctext</a> = <a href="#rule.whitespace" class="smpl">OWS</a> / %x21-27 / %x2A-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a> 1415 1415 </pre><div id="rule.quoted-cpair"> 1416 1416 <p id="rfc.section.3.2.4.p.11"> The backslash octet ("\") can be used as a single-octet quoting mechanism within comment constructs:</p> 1417 1417 </div> 1418 <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.5 0"></span> <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</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> )1418 <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.51"></span> <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</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> ) 1419 1419 </pre><p id="rfc.section.3.2.4.p.13">Senders <em class="bcp14">SHOULD NOT</em> escape octets in comments that do not require escaping (i.e., other than the backslash octet "\" and the parentheses "(" and 1420 1420 ")"). … … 1455 1455 is identical to the payload body unless a transfer coding has been applied, as described in <a href="#header.transfer-encoding" id="rfc.xref.header.transfer-encoding.1" title="Transfer-Encoding">Section 3.3.1</a>. 1456 1456 </p> 1457 <div id="rfc.figure.u.33"></div><pre class="inline"><span id="rfc.iref.g.5 1"></span> <a href="#message.body" class="smpl">message-body</a> = *OCTET1457 <div id="rfc.figure.u.33"></div><pre class="inline"><span id="rfc.iref.g.52"></span> <a href="#message.body" class="smpl">message-body</a> = *OCTET 1458 1458 </pre><p id="rfc.section.3.3.p.3">The rules for when a message body is allowed in a message differ for requests and responses.</p> 1459 1459 <p id="rfc.section.3.3.p.4">The presence of a message body in a request is signaled by a a Content-Length or Transfer-Encoding header field. Request message … … 1472 1472 in <a href="#transfer.codings" title="Transfer Codings">Section 5</a>. 1473 1473 </p> 1474 <div id="rfc.figure.u.34"></div><pre class="inline"><span id="rfc.iref.g.5 2"></span> <a href="#header.transfer-encoding" class="smpl">Transfer-Encoding</a> = 1#<a href="#transfer.codings" class="smpl">transfer-coding</a>1474 <div id="rfc.figure.u.34"></div><pre class="inline"><span id="rfc.iref.g.53"></span> <a href="#header.transfer-encoding" class="smpl">Transfer-Encoding</a> = 1#<a href="#transfer.codings" class="smpl">transfer-coding</a> 1475 1475 </pre><p id="rfc.section.3.3.1.p.3">Transfer-Encoding is analogous to the Content-Transfer-Encoding field of MIME, which was designed to enable safe transport 1476 1476 of binary data over a 7-bit transport service (<a href="#RFC2045" id="rfc.xref.RFC2045.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a>, <a href="http://tools.ietf.org/html/rfc2045#section-6">Section 6</a>). However, safe transport has a different focus for an 8bit-clean transfer protocol. In HTTP's case, Transfer-Encoding is … … 1503 1503 body (not including any potential transfer-coding) that would have been sent in a 200 (OK) response. 1504 1504 </p> 1505 <div id="rfc.figure.u.36"></div><pre class="inline"><span id="rfc.iref.g.5 3"></span> <a href="#header.content-length" class="smpl">Content-Length</a> = 1*<a href="#core.rules" class="smpl">DIGIT</a>1505 <div id="rfc.figure.u.36"></div><pre class="inline"><span id="rfc.iref.g.54"></span> <a href="#header.content-length" class="smpl">Content-Length</a> = 1*<a href="#core.rules" class="smpl">DIGIT</a> 1506 1506 </pre><p id="rfc.section.3.3.2.p.3">An example is</p> 1507 1507 <div id="rfc.figure.u.37"></div><pre class="text"> Content-Length: 3495 … … 1746 1746 transfer-coding is a property of the message rather than a property of the representation that is being transferred. 1747 1747 </p> 1748 <div id="rfc.figure.u.47"></div><pre class="inline"><span id="rfc.iref.g.5 4"></span><span id="rfc.iref.g.55"></span> <a href="#transfer.codings" class="smpl">transfer-coding</a> = "chunked" ; <a href="#chunked.encoding" title="Chunked Transfer Coding">Section 5.1</a>1748 <div id="rfc.figure.u.47"></div><pre class="inline"><span id="rfc.iref.g.55"></span><span id="rfc.iref.g.56"></span> <a href="#transfer.codings" class="smpl">transfer-coding</a> = "chunked" ; <a href="#chunked.encoding" title="Chunked Transfer Coding">Section 5.1</a> 1749 1749 / "compress" ; <a href="#compress.coding" title="Compress Coding">Section 5.2.1</a> 1750 1750 / "deflate" ; <a href="#deflate.coding" title="Deflate Coding">Section 5.2.2</a> 1751 1751 / "gzip" ; <a href="#gzip.coding" title="Gzip Coding">Section 5.2.3</a> 1752 1752 / <a href="#transfer.codings" class="smpl">transfer-extension</a> 1753 <a href="#transfer.codings" class="smpl">transfer-extension</a> = <a href="#rule.token.separators" class="smpl">token</a> *( <a href="# header.fields" class="smpl">OWS</a> ";" <a href="#header.fields" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">transfer-parameter</a> )1753 <a href="#transfer.codings" class="smpl">transfer-extension</a> = <a href="#rule.token.separators" class="smpl">token</a> *( <a href="#rule.whitespace" class="smpl">OWS</a> ";" <a href="#rule.whitespace" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">transfer-parameter</a> ) 1754 1754 </pre><div id="rule.parameter"> 1755 1755 <p id="rfc.section.5.p.3"> Parameters are in the form of attribute/value pairs.</p> 1756 1756 </div> 1757 <div id="rfc.figure.u.48"></div><pre class="inline"><span id="rfc.iref.g.5 6"></span><span id="rfc.iref.g.57"></span><span id="rfc.iref.g.58"></span><span id="rfc.iref.g.59"></span><span id="rfc.iref.g.60"></span> <a href="#rule.parameter" class="smpl">transfer-parameter</a> = <a href="#rule.parameter" class="smpl">attribute</a> <a href="#rule.whitespace" class="smpl">BWS</a> "=" <a href="#rule.whitespace" class="smpl">BWS</a> <a href="#rule.parameter" class="smpl">value</a>1757 <div id="rfc.figure.u.48"></div><pre class="inline"><span id="rfc.iref.g.57"></span><span id="rfc.iref.g.58"></span><span id="rfc.iref.g.59"></span><span id="rfc.iref.g.60"></span><span id="rfc.iref.g.61"></span> <a href="#rule.parameter" class="smpl">transfer-parameter</a> = <a href="#rule.parameter" class="smpl">attribute</a> <a href="#rule.whitespace" class="smpl">BWS</a> "=" <a href="#rule.whitespace" class="smpl">BWS</a> <a href="#rule.parameter" class="smpl">value</a> 1758 1758 <a href="#rule.parameter" class="smpl">attribute</a> = <a href="#rule.token.separators" class="smpl">token</a> 1759 1759 <a href="#rule.parameter" class="smpl">value</a> = <a href="#rule.token.separators" class="smpl">word</a> … … 1767 1767 for the recipient to verify that it has received the full message. 1768 1768 </p> 1769 <div id="rfc.figure.u.49"></div><pre class="inline"><span id="rfc.iref.g.6 1"></span><span id="rfc.iref.g.62"></span><span id="rfc.iref.g.63"></span><span id="rfc.iref.g.64"></span><span id="rfc.iref.g.65"></span><span id="rfc.iref.g.66"></span><span id="rfc.iref.g.67"></span><span id="rfc.iref.g.68"></span><span id="rfc.iref.g.69"></span><span id="rfc.iref.g.70"></span><span id="rfc.iref.g.71"></span> <a href="#chunked.encoding" class="smpl">Chunked-Body</a> = *<a href="#chunked.encoding" class="smpl">chunk</a>1769 <div id="rfc.figure.u.49"></div><pre class="inline"><span id="rfc.iref.g.62"></span><span id="rfc.iref.g.63"></span><span id="rfc.iref.g.64"></span><span id="rfc.iref.g.65"></span><span id="rfc.iref.g.66"></span><span id="rfc.iref.g.67"></span><span id="rfc.iref.g.68"></span><span id="rfc.iref.g.69"></span><span id="rfc.iref.g.70"></span><span id="rfc.iref.g.71"></span><span id="rfc.iref.g.72"></span> <a href="#chunked.encoding" class="smpl">Chunked-Body</a> = *<a href="#chunked.encoding" class="smpl">chunk</a> 1770 1770 <a href="#chunked.encoding" class="smpl">last-chunk</a> 1771 1771 <a href="#chunked.encoding" class="smpl">trailer-part</a> … … 1855 1855 </p> 1856 1856 </div> 1857 <div id="rfc.iref.g.7 2"></div>1857 <div id="rfc.iref.g.73"></div> 1858 1858 <div id="rfc.iref.c.12"></div> 1859 1859 <h3 id="rfc.section.5.2.3"><a href="#rfc.section.5.2.3">5.2.3</a> <a id="gzip.coding" href="#gzip.coding">Gzip Coding</a></h3> … … 1884 1884 accept parameters (as described in <a href="#transfer.codings" title="Transfer Codings">Section 5</a>). 1885 1885 </p> 1886 <div id="rfc.figure.u.51"></div><pre class="inline"><span id="rfc.iref.g.7 3"></span><span id="rfc.iref.g.74"></span><span id="rfc.iref.g.75"></span><span id="rfc.iref.g.76"></span> <a href="#header.te" class="smpl">TE</a> = #<a href="#header.te" class="smpl">t-codings</a>1886 <div id="rfc.figure.u.51"></div><pre class="inline"><span id="rfc.iref.g.74"></span><span id="rfc.iref.g.75"></span><span id="rfc.iref.g.76"></span><span id="rfc.iref.g.77"></span> <a href="#header.te" class="smpl">TE</a> = #<a href="#header.te" class="smpl">t-codings</a> 1887 1887 <a href="#header.te" class="smpl">t-codings</a> = "trailers" / ( <a href="#transfer.codings" class="smpl">transfer-extension</a> [ <a href="#header.te" class="smpl">te-params</a> ] ) 1888 <a href="#header.te" class="smpl">te-params</a> = <a href="# header.fields" class="smpl">OWS</a> ";" <a href="#header.fields" class="smpl">OWS</a> "q=" <a href="#quality.values" class="smpl">qvalue</a> *( <a href="#header.te" class="smpl">te-ext</a> )1889 <a href="#header.te" class="smpl">te-ext</a> = <a href="# header.fields" class="smpl">OWS</a> ";" <a href="#header.fields" class="smpl">OWS</a> <a href="#rule.token.separators" class="smpl">token</a> [ "=" <a href="#rule.token.separators" class="smpl">word</a> ]1888 <a href="#header.te" class="smpl">te-params</a> = <a href="#rule.whitespace" class="smpl">OWS</a> ";" <a href="#rule.whitespace" class="smpl">OWS</a> "q=" <a href="#quality.values" class="smpl">qvalue</a> *( <a href="#header.te" class="smpl">te-ext</a> ) 1889 <a href="#header.te" class="smpl">te-ext</a> = <a href="#rule.whitespace" class="smpl">OWS</a> ";" <a href="#rule.whitespace" class="smpl">OWS</a> <a href="#rule.token.separators" class="smpl">token</a> [ "=" <a href="#rule.token.separators" class="smpl">word</a> ] 1890 1890 </pre><p id="rfc.section.5.4.p.4">The presence of the keyword "trailers" indicates that the client is willing to accept trailer fields in a chunked transfer-coding, 1891 1891 as defined in <a href="#chunked.encoding" title="Chunked Transfer Coding">Section 5.1</a>. This keyword is reserved for use with transfer-coding values even though it does not itself represent a transfer-coding. … … 1928 1928 a quality value of 0, then content with this parameter is "not acceptable" for the client. HTTP/1.1 applications <em class="bcp14">MUST NOT</em> generate more than three digits after the decimal point. User configuration of these values <em class="bcp14">SHOULD</em> also be limited in this fashion. 1929 1929 </p> 1930 <div id="rfc.figure.u.53"></div><pre class="inline"><span id="rfc.iref.g.7 7"></span> <a href="#quality.values" class="smpl">qvalue</a> = ( "0" [ "." 0*3<a href="#core.rules" class="smpl">DIGIT</a> ] )1930 <div id="rfc.figure.u.53"></div><pre class="inline"><span id="rfc.iref.g.78"></span> <a href="#quality.values" class="smpl">qvalue</a> = ( "0" [ "." 0*3<a href="#core.rules" class="smpl">DIGIT</a> ] ) 1931 1931 / ( "1" [ "." 0*3("0") ] ) 1932 1932 </pre><div class="note" id="rfc.section.5.4.1.p.3"> … … 1940 1940 chunked transfer-coding. 1941 1941 </p> 1942 <div id="rfc.figure.u.54"></div><pre class="inline"><span id="rfc.iref.g.7 8"></span> <a href="#header.trailer" class="smpl">Trailer</a> = 1#<a href="#header.fields" class="smpl">field-name</a>1942 <div id="rfc.figure.u.54"></div><pre class="inline"><span id="rfc.iref.g.79"></span> <a href="#header.trailer" class="smpl">Trailer</a> = 1#<a href="#header.fields" class="smpl">field-name</a> 1943 1943 </pre><p id="rfc.section.5.5.p.3">An HTTP/1.1 message <em class="bcp14">SHOULD</em> include a Trailer header field in a message using chunked transfer-coding with a non-empty trailer. Doing so allows the recipient 1944 1944 to know which header fields to expect in the trailer. … … 2254 2254 </p> 2255 2255 <p id="rfc.section.8.1.p.2">The Connection header field's value has the following grammar:</p> 2256 <div id="rfc.figure.u.55"></div><pre class="inline"><span id="rfc.iref.g. 79"></span><span id="rfc.iref.g.80"></span> <a href="#header.connection" class="smpl">Connection</a> = 1#<a href="#header.connection" class="smpl">connection-token</a>2256 <div id="rfc.figure.u.55"></div><pre class="inline"><span id="rfc.iref.g.80"></span><span id="rfc.iref.g.81"></span> <a href="#header.connection" class="smpl">Connection</a> = 1#<a href="#header.connection" class="smpl">connection-token</a> 2257 2257 <a href="#header.connection" class="smpl">connection-token</a> = <a href="#rule.token.separators" class="smpl">token</a> 2258 2258 </pre><p id="rfc.section.8.1.p.4">A proxy or gateway <em class="bcp14">MUST</em> parse a received Connection header field before a message is forwarded and, for each connection-token in this field, remove … … 2291 2291 Host field-value is critical information for handling a request, it <em class="bcp14">SHOULD</em> be sent as the first header field following the Request-Line. 2292 2292 </p> 2293 <div id="rfc.figure.u.57"></div><pre class="inline"><span id="rfc.iref.g.8 1"></span> <a href="#header.host" class="smpl">Host</a> = <a href="#uri" class="smpl">uri-host</a> [ ":" <a href="#uri" class="smpl">port</a> ] ; <a href="#http.uri" title="http URI scheme">Section 2.7.1</a>2293 <div id="rfc.figure.u.57"></div><pre class="inline"><span id="rfc.iref.g.82"></span> <a href="#header.host" class="smpl">Host</a> = <a href="#uri" class="smpl">uri-host</a> [ ":" <a href="#uri" class="smpl">port</a> ] ; <a href="#http.uri" title="http URI scheme">Section 2.7.1</a> 2294 2294 </pre><p id="rfc.section.8.2.p.3">A client <em class="bcp14">MUST</em> send a Host header field in all HTTP/1.1 request messages. If the target resource's URI includes an authority component, then 2295 2295 the Host field-value <em class="bcp14">MUST</em> be identical to that authority component after excluding any userinfo (<a href="#http.uri" title="http URI scheme">Section 2.7.1</a>). If the authority component is missing or undefined for the target resource's URI, then the Host header field <em class="bcp14">MUST</em> be sent with an empty field-value. … … 2320 2320 server chooses to switch protocols. Servers can use it to indicate what protocols they are willing to switch to. 2321 2321 </p> 2322 <div id="rfc.figure.u.59"></div><pre class="inline"><span id="rfc.iref.g.8 2"></span> <a href="#header.upgrade" class="smpl">Upgrade</a> = 1#<a href="#header.upgrade" class="smpl">protocol</a>2322 <div id="rfc.figure.u.59"></div><pre class="inline"><span id="rfc.iref.g.83"></span> <a href="#header.upgrade" class="smpl">Upgrade</a> = 1#<a href="#header.upgrade" class="smpl">protocol</a> 2323 2323 2324 2324 <a href="#header.upgrade" class="smpl">protocol</a> = <a href="#header.upgrade" class="smpl">protocol-name</a> ["/" <a href="#header.upgrade" class="smpl">protocol-version</a>] … … 2382 2382 of all senders along the request/response chain. 2383 2383 </p> 2384 <div id="rfc.figure.u.61"></div><pre class="inline"><span id="rfc.iref.g.8 3"></span><span id="rfc.iref.g.84"></span><span id="rfc.iref.g.85"></span><span id="rfc.iref.g.86"></span><span id="rfc.iref.g.87"></span><span id="rfc.iref.g.88"></span> <a href="#header.via" class="smpl">Via</a> = 1#( <a href="#header.via" class="smpl">received-protocol</a> <a href="#rule.whitespace" class="smpl">RWS</a> <a href="#header.via" class="smpl">received-by</a>2384 <div id="rfc.figure.u.61"></div><pre class="inline"><span id="rfc.iref.g.84"></span><span id="rfc.iref.g.85"></span><span id="rfc.iref.g.86"></span><span id="rfc.iref.g.87"></span><span id="rfc.iref.g.88"></span><span id="rfc.iref.g.89"></span> <a href="#header.via" class="smpl">Via</a> = 1#( <a href="#header.via" class="smpl">received-protocol</a> <a href="#rule.whitespace" class="smpl">RWS</a> <a href="#header.via" class="smpl">received-by</a> 2385 2385 [ <a href="#rule.whitespace" class="smpl">RWS</a> <a href="#rule.comment" class="smpl">comment</a> ] ) 2386 2386 <a href="#header.via" class="smpl">received-protocol</a> = [ <a href="#header.upgrade" class="smpl">protocol-name</a> "/" ] <a href="#header.upgrade" class="smpl">protocol-version</a> … … 3109 3109 <a href="#method" class="smpl">Method</a> = token 3110 3110 3111 <a href="# header.fields" class="smpl">OWS</a> = *( SP / HTAB / obs-fold)3112 3113 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( SP / HTAB / obs-fold)3111 <a href="#rule.whitespace" class="smpl">OWS</a> = *( SP / HTAB ) 3112 3113 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( SP / HTAB ) 3114 3114 <a href="#reason.phrase" class="smpl">Reason-Phrase</a> = *( HTAB / SP / VCHAR / obs-text ) 3115 3115 <a href="#request.line" class="smpl">Request-Line</a> = Method SP request-target SP HTTP-Version CRLF … … 3159 3159 <a href="#message.body" class="smpl">message-body</a> = *OCTET 3160 3160 3161 <a href="# rule.whitespace" class="smpl">obs-fold</a> = CRLF ( SP / HTAB )3161 <a href="#header.fields" class="smpl">obs-fold</a> = CRLF ( SP / HTAB ) 3162 3162 <a href="#rule.quoted-string" class="smpl">obs-text</a> = %x80-FF 3163 3163 … … 3659 3659 <li><tt>absolute-URI</tt> <a href="#rfc.iref.g.17"><b>2.7</b></a></li> 3660 3660 <li>ALPHA <a href="#rfc.iref.g.1"><b>1.2</b></a></li> 3661 <li><tt>attribute</tt> <a href="#rfc.iref.g.5 7"><b>5</b></a></li>3661 <li><tt>attribute</tt> <a href="#rfc.iref.g.58"><b>5</b></a></li> 3662 3662 <li><tt>authority</tt> <a href="#rfc.iref.g.18"><b>2.7</b></a></li> 3663 <li><tt>BWS</tt> <a href="#rfc.iref.g. 39"><b>3.2.1</b></a></li>3664 <li><tt>chunk</tt> <a href="#rfc.iref.g.6 2"><b>5.1</b></a></li>3665 <li><tt>chunk-data</tt> <a href="#rfc.iref.g.6 8"><b>5.1</b></a></li>3666 <li><tt>chunk-ext</tt> <a href="#rfc.iref.g.6 5"><b>5.1</b></a></li>3667 <li><tt>chunk-ext-name</tt> <a href="#rfc.iref.g.6 6"><b>5.1</b></a></li>3668 <li><tt>chunk-ext-val</tt> <a href="#rfc.iref.g.6 7"><b>5.1</b></a></li>3669 <li><tt>chunk-size</tt> <a href="#rfc.iref.g.6 3"><b>5.1</b></a></li>3670 <li><tt>Chunked-Body</tt> <a href="#rfc.iref.g.6 1"><b>5.1</b></a></li>3671 <li><tt>comment</tt> <a href="#rfc.iref.g.4 8"><b>3.2.4</b></a></li>3672 <li><tt>Connection</tt> <a href="#rfc.iref.g. 79"><b>8.1</b></a></li>3673 <li><tt>connection-token</tt> <a href="#rfc.iref.g.8 0"><b>8.1</b></a></li>3674 <li><tt>Content-Length</tt> <a href="#rfc.iref.g.5 3"><b>3.3.2</b></a></li>3663 <li><tt>BWS</tt> <a href="#rfc.iref.g.40"><b>3.2.1</b></a></li> 3664 <li><tt>chunk</tt> <a href="#rfc.iref.g.63"><b>5.1</b></a></li> 3665 <li><tt>chunk-data</tt> <a href="#rfc.iref.g.69"><b>5.1</b></a></li> 3666 <li><tt>chunk-ext</tt> <a href="#rfc.iref.g.66"><b>5.1</b></a></li> 3667 <li><tt>chunk-ext-name</tt> <a href="#rfc.iref.g.67"><b>5.1</b></a></li> 3668 <li><tt>chunk-ext-val</tt> <a href="#rfc.iref.g.68"><b>5.1</b></a></li> 3669 <li><tt>chunk-size</tt> <a href="#rfc.iref.g.64"><b>5.1</b></a></li> 3670 <li><tt>Chunked-Body</tt> <a href="#rfc.iref.g.62"><b>5.1</b></a></li> 3671 <li><tt>comment</tt> <a href="#rfc.iref.g.49"><b>3.2.4</b></a></li> 3672 <li><tt>Connection</tt> <a href="#rfc.iref.g.80"><b>8.1</b></a></li> 3673 <li><tt>connection-token</tt> <a href="#rfc.iref.g.81"><b>8.1</b></a></li> 3674 <li><tt>Content-Length</tt> <a href="#rfc.iref.g.54"><b>3.3.2</b></a></li> 3675 3675 <li>CR <a href="#rfc.iref.g.2"><b>1.2</b></a></li> 3676 3676 <li>CRLF <a href="#rfc.iref.g.3"><b>1.2</b></a></li> 3677 <li><tt>ctext</tt> <a href="#rfc.iref.g. 49"><b>3.2.4</b></a></li>3677 <li><tt>ctext</tt> <a href="#rfc.iref.g.50"><b>3.2.4</b></a></li> 3678 3678 <li>CTL <a href="#rfc.iref.g.4"><b>1.2</b></a></li> 3679 <li><tt>date2</tt> <a href="#rfc.iref.g. 59"><b>5</b></a></li>3680 <li><tt>date3</tt> <a href="#rfc.iref.g.6 0"><b>5</b></a></li>3679 <li><tt>date2</tt> <a href="#rfc.iref.g.60"><b>5</b></a></li> 3680 <li><tt>date3</tt> <a href="#rfc.iref.g.61"><b>5</b></a></li> 3681 3681 <li>DIGIT <a href="#rfc.iref.g.5"><b>1.2</b></a></li> 3682 3682 <li>DQUOTE <a href="#rfc.iref.g.6"><b>1.2</b></a></li> … … 3686 3686 <li><tt>header-field</tt> <a href="#rfc.iref.g.33"><b>3.2</b></a></li> 3687 3687 <li>HEXDIG <a href="#rfc.iref.g.7"><b>1.2</b></a></li> 3688 <li><tt>Host</tt> <a href="#rfc.iref.g.8 1"><b>8.2</b></a></li>3688 <li><tt>Host</tt> <a href="#rfc.iref.g.82"><b>8.2</b></a></li> 3689 3689 <li>HTAB <a href="#rfc.iref.g.8"><b>1.2</b></a></li> 3690 3690 <li><tt>HTTP-message</tt> <a href="#rfc.iref.g.25"><b>3</b></a></li> … … 3693 3693 <li><tt>HTTP-Version</tt> <a href="#rfc.iref.g.14"><b>2.6</b></a></li> 3694 3694 <li><tt>https-URI</tt> <a href="#rfc.iref.g.24"><b>2.7.2</b></a></li> 3695 <li><tt>last-chunk</tt> <a href="#rfc.iref.g.6 4"><b>5.1</b></a></li>3695 <li><tt>last-chunk</tt> <a href="#rfc.iref.g.65"><b>5.1</b></a></li> 3696 3696 <li>LF <a href="#rfc.iref.g.9"><b>1.2</b></a></li> 3697 <li><tt>message-body</tt> <a href="#rfc.iref.g.5 1"><b>3.3</b></a></li>3697 <li><tt>message-body</tt> <a href="#rfc.iref.g.52"><b>3.3</b></a></li> 3698 3698 <li><tt>Method</tt> <a href="#rfc.iref.g.28"><b>3.1.1.1</b></a></li> 3699 <li><tt>obs-text</tt> <a href="#rfc.iref.g.46"><b>3.2.4</b></a></li> 3699 <li><tt>obs-fold</tt> <a href="#rfc.iref.g.37"><b>3.2</b></a></li> 3700 <li><tt>obs-text</tt> <a href="#rfc.iref.g.47"><b>3.2.4</b></a></li> 3700 3701 <li>OCTET <a href="#rfc.iref.g.10"><b>1.2</b></a></li> 3701 <li><tt>OWS</tt> <a href="#rfc.iref.g.3 7"><b>3.2.1</b></a></li>3702 <li><tt>OWS</tt> <a href="#rfc.iref.g.38"><b>3.2.1</b></a></li> 3702 3703 <li><tt>path-absolute</tt> <a href="#rfc.iref.g.19"><b>2.7</b></a></li> 3703 3704 <li><tt>port</tt> <a href="#rfc.iref.g.20"><b>2.7</b></a></li> 3704 <li><tt>protocol-name</tt> <a href="#rfc.iref.g.8 5"><b>8.4</b></a></li>3705 <li><tt>protocol-version</tt> <a href="#rfc.iref.g.8 6"><b>8.4</b></a></li>3706 <li><tt>pseudonym</tt> <a href="#rfc.iref.g.8 8"><b>8.4</b></a></li>3707 <li><tt>qdtext</tt> <a href="#rfc.iref.g.4 5"><b>3.2.4</b></a></li>3708 <li><tt>qdtext-nf</tt> <a href="#rfc.iref.g.7 1"><b>5.1</b></a></li>3705 <li><tt>protocol-name</tt> <a href="#rfc.iref.g.86"><b>8.4</b></a></li> 3706 <li><tt>protocol-version</tt> <a href="#rfc.iref.g.87"><b>8.4</b></a></li> 3707 <li><tt>pseudonym</tt> <a href="#rfc.iref.g.89"><b>8.4</b></a></li> 3708 <li><tt>qdtext</tt> <a href="#rfc.iref.g.46"><b>3.2.4</b></a></li> 3709 <li><tt>qdtext-nf</tt> <a href="#rfc.iref.g.72"><b>5.1</b></a></li> 3709 3710 <li><tt>query</tt> <a href="#rfc.iref.g.21"><b>2.7</b></a></li> 3710 <li><tt>quoted-cpair</tt> <a href="#rfc.iref.g.5 0"><b>3.2.4</b></a></li>3711 <li><tt>quoted-pair</tt> <a href="#rfc.iref.g.4 7"><b>3.2.4</b></a></li>3712 <li><tt>quoted-str-nf</tt> <a href="#rfc.iref.g.7 0"><b>5.1</b></a></li>3713 <li><tt>quoted-string</tt> <a href="#rfc.iref.g.4 4"><b>3.2.4</b></a></li>3714 <li><tt>qvalue</tt> <a href="#rfc.iref.g.7 7"><b>5.4.1</b></a></li>3711 <li><tt>quoted-cpair</tt> <a href="#rfc.iref.g.51"><b>3.2.4</b></a></li> 3712 <li><tt>quoted-pair</tt> <a href="#rfc.iref.g.48"><b>3.2.4</b></a></li> 3713 <li><tt>quoted-str-nf</tt> <a href="#rfc.iref.g.71"><b>5.1</b></a></li> 3714 <li><tt>quoted-string</tt> <a href="#rfc.iref.g.45"><b>3.2.4</b></a></li> 3715 <li><tt>qvalue</tt> <a href="#rfc.iref.g.78"><b>5.4.1</b></a></li> 3715 3716 <li><tt>Reason-Phrase</tt> <a href="#rfc.iref.g.32"><b>3.1.2.2</b></a></li> 3716 <li><tt>received-by</tt> <a href="#rfc.iref.g.8 7"><b>8.4</b></a></li>3717 <li><tt>received-protocol</tt> <a href="#rfc.iref.g.8 4"><b>8.4</b></a></li>3717 <li><tt>received-by</tt> <a href="#rfc.iref.g.88"><b>8.4</b></a></li> 3718 <li><tt>received-protocol</tt> <a href="#rfc.iref.g.85"><b>8.4</b></a></li> 3718 3719 <li><tt>Request-Line</tt> <a href="#rfc.iref.g.27"><b>3.1.1</b></a></li> 3719 3720 <li><tt>request-target</tt> <a href="#rfc.iref.g.29"><b>3.1.1.2</b></a></li> 3720 <li><tt>RWS</tt> <a href="#rfc.iref.g.3 8"><b>3.2.1</b></a></li>3721 <li><tt>RWS</tt> <a href="#rfc.iref.g.39"><b>3.2.1</b></a></li> 3721 3722 <li>SP <a href="#rfc.iref.g.11"><b>1.2</b></a></li> 3722 <li><tt>special</tt> <a href="#rfc.iref.g.4 3"><b>3.2.4</b></a></li>3723 <li><tt>special</tt> <a href="#rfc.iref.g.44"><b>3.2.4</b></a></li> 3723 3724 <li><tt>start-line</tt> <a href="#rfc.iref.g.26"><b>3.1</b></a></li> 3724 3725 <li><tt>Status-Code</tt> <a href="#rfc.iref.g.31"><b>3.1.2.1</b></a></li> 3725 3726 <li><tt>Status-Line</tt> <a href="#rfc.iref.g.30"><b>3.1.2</b></a></li> 3726 <li><tt>t-codings</tt> <a href="#rfc.iref.g.7 4"><b>5.4</b></a></li>3727 <li><tt>tchar</tt> <a href="#rfc.iref.g.4 2"><b>3.2.4</b></a></li>3728 <li><tt>TE</tt> <a href="#rfc.iref.g.7 3"><b>5.4</b></a></li>3729 <li><tt>te-ext</tt> <a href="#rfc.iref.g.7 6"><b>5.4</b></a></li>3730 <li><tt>te-params</tt> <a href="#rfc.iref.g.7 5"><b>5.4</b></a></li>3731 <li><tt>token</tt> <a href="#rfc.iref.g.4 1"><b>3.2.4</b></a></li>3732 <li><tt>Trailer</tt> <a href="#rfc.iref.g.7 8"><b>5.5</b></a></li>3733 <li><tt>trailer-part</tt> <a href="#rfc.iref.g. 69"><b>5.1</b></a></li>3734 <li><tt>transfer-coding</tt> <a href="#rfc.iref.g.5 4"><b>5</b></a></li>3735 <li><tt>Transfer-Encoding</tt> <a href="#rfc.iref.g.5 2"><b>3.3.1</b></a></li>3736 <li><tt>transfer-extension</tt> <a href="#rfc.iref.g.5 5"><b>5</b></a></li>3737 <li><tt>transfer-parameter</tt> <a href="#rfc.iref.g.5 6"><b>5</b></a></li>3738 <li><tt>Upgrade</tt> <a href="#rfc.iref.g.8 2"><b>8.3</b></a></li>3727 <li><tt>t-codings</tt> <a href="#rfc.iref.g.75"><b>5.4</b></a></li> 3728 <li><tt>tchar</tt> <a href="#rfc.iref.g.43"><b>3.2.4</b></a></li> 3729 <li><tt>TE</tt> <a href="#rfc.iref.g.74"><b>5.4</b></a></li> 3730 <li><tt>te-ext</tt> <a href="#rfc.iref.g.77"><b>5.4</b></a></li> 3731 <li><tt>te-params</tt> <a href="#rfc.iref.g.76"><b>5.4</b></a></li> 3732 <li><tt>token</tt> <a href="#rfc.iref.g.42"><b>3.2.4</b></a></li> 3733 <li><tt>Trailer</tt> <a href="#rfc.iref.g.79"><b>5.5</b></a></li> 3734 <li><tt>trailer-part</tt> <a href="#rfc.iref.g.70"><b>5.1</b></a></li> 3735 <li><tt>transfer-coding</tt> <a href="#rfc.iref.g.55"><b>5</b></a></li> 3736 <li><tt>Transfer-Encoding</tt> <a href="#rfc.iref.g.53"><b>3.3.1</b></a></li> 3737 <li><tt>transfer-extension</tt> <a href="#rfc.iref.g.56"><b>5</b></a></li> 3738 <li><tt>transfer-parameter</tt> <a href="#rfc.iref.g.57"><b>5</b></a></li> 3739 <li><tt>Upgrade</tt> <a href="#rfc.iref.g.83"><b>8.3</b></a></li> 3739 3740 <li><tt>uri-host</tt> <a href="#rfc.iref.g.22"><b>2.7</b></a></li> 3740 3741 <li><tt>URI-reference</tt> <a href="#rfc.iref.g.16"><b>2.7</b></a></li> 3741 <li><tt>value</tt> <a href="#rfc.iref.g.5 8"><b>5</b></a></li>3742 <li><tt>value</tt> <a href="#rfc.iref.g.59"><b>5</b></a></li> 3742 3743 <li>VCHAR <a href="#rfc.iref.g.12"><b>1.2</b></a></li> 3743 <li><tt>Via</tt> <a href="#rfc.iref.g.8 3"><b>8.4</b></a></li>3744 <li><tt>word</tt> <a href="#rfc.iref.g.4 0"><b>3.2.4</b></a></li>3744 <li><tt>Via</tt> <a href="#rfc.iref.g.84"><b>8.4</b></a></li> 3745 <li><tt>word</tt> <a href="#rfc.iref.g.41"><b>3.2.4</b></a></li> 3745 3746 </ul> 3746 3747 </li> 3747 <li>gzip (Coding Format) <a href="#rfc.iref.g.7 2">5.2.3</a></li>3748 <li>gzip (Coding Format) <a href="#rfc.iref.g.73">5.2.3</a></li> 3748 3749 </ul> 3749 3750 </li> -
draft-ietf-httpbis/latest/p1-messaging.xml
r1544 r1546 1217 1217 <x:anchor-alias value="field-name"/> 1218 1218 <x:anchor-alias value="field-value"/> 1219 <x:anchor-alias value=" OWS"/>1219 <x:anchor-alias value="obs-fold"/> 1220 1220 <t> 1221 1221 Each HTTP header field consists of a case-insensitive field name 1222 1222 followed by a colon (":"), optional whitespace, and the field value. 1223 1223 </t> 1224 <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"/> 1224 <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"/> 1225 1225 <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> 1226 1226 <x:ref>field-name</x:ref> = <x:ref>token</x:ref> 1227 1227 <x:ref>field-value</x:ref> = *( <x:ref>field-content</x:ref> / <x:ref>obs-fold</x:ref> ) 1228 1228 <x:ref>field-content</x:ref> = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> ) 1229 <x:ref>obs-fold</x:ref> = <x:ref>CRLF</x:ref> ( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> ) 1230 ; obsolete line folding 1231 ; see <xref target="field.parsing"/> 1229 1232 </artwork></figure> 1230 1233 <t> … … 1318 1321 <x:anchor-alias value="OWS"/> 1319 1322 <x:anchor-alias value="RWS"/> 1320 <x:anchor-alias value="obs-fold"/>1321 1323 </t> 1322 1324 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="OWS"/><iref primary="true" item="Grammar" subitem="RWS"/><iref primary="true" item="Grammar" subitem="BWS"/> 1323 <x:ref>OWS</x:ref> = *( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> / obs-fold)1325 <x:ref>OWS</x:ref> = *( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> ) 1324 1326 ; "optional" whitespace 1325 <x:ref>RWS</x:ref> = 1*( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> / obs-fold)1327 <x:ref>RWS</x:ref> = 1*( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> ) 1326 1328 ; "required" whitespace 1327 1329 <x:ref>BWS</x:ref> = <x:ref>OWS</x:ref> 1328 1330 ; "bad" whitespace 1329 <x:ref>obs-fold</x:ref> = <x:ref>CRLF</x:ref> ( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> )1330 ; obsolete line folding1331 ; see <xref target="field.parsing"/>1332 1331 </artwork></figure> 1333 1332 </section> … … 1358 1357 (<xref target="internet.media.type.message.http"/>). 1359 1358 HTTP senders &MUST-NOT; produce messages that include line folding 1360 (i.e., that contain any field- contentthat matches the obs-fold rule) unless1359 (i.e., that contain any field-value that matches the obs-fold rule) unless 1361 1360 the message is intended for packaging within the message/http media type. 1362 1361 HTTP recipients &SHOULD; accept line folding and replace any embedded … … 5035 5034 <x:ref>Method</x:ref> = token 5036 5035 5037 <x:ref>OWS</x:ref> = *( SP / HTAB / obs-fold)5038 5039 <x:ref>RWS</x:ref> = 1*( SP / HTAB / obs-fold)5036 <x:ref>OWS</x:ref> = *( SP / HTAB ) 5037 5038 <x:ref>RWS</x:ref> = 1*( SP / HTAB ) 5040 5039 <x:ref>Reason-Phrase</x:ref> = *( HTAB / SP / VCHAR / obs-text ) 5041 5040 <x:ref>Request-Line</x:ref> = Method SP request-target SP HTTP-Version CRLF
Note: See TracChangeset
for help on using the changeset viewer.