Changeset 367 for draft-ietf-httpbis
- Timestamp:
- 13/11/08 19:00:16 (14 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p1-messaging.html
r366 r367 796 796 <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.1"></span> <a href="#rule.LWS" class="smpl">LWS</a> = [<a href="#core.rules" class="smpl">CRLF</a>] 1*<a href="#core.rules" class="smpl">WSP</a> 797 797 </pre><div id="rule.whitespace"> 798 <p id="rfc.section.2.2.p.5"> <span class="comment">[rfc.comment.2: Add prose introducing the different kinds of WS.]</span>799 </p>800 <div id="rfc.figure.u.7"></div><pre class="inline"><span id="rfc.iref.g.2"></span><span id="rfc.iref.g.3"></span><span id="rfc.iref.g.4"></span> <a href="#rule.whitespace" class="smpl">OWS</a> = 1*( [ obs-fold ] <a href="#core.rules" class="smpl">WSP</a> )798 <p id="rfc.section.2.2.p.5"> </p> 799 </div> 800 <div id="rfc.figure.u.7"></div><pre class="inline"><span id="rfc.iref.g.2"></span><span id="rfc.iref.g.3"></span><span id="rfc.iref.g.4"></span> <a href="#rule.whitespace" class="smpl">OWS</a> = *( [ obs-fold ] <a href="#core.rules" class="smpl">WSP</a> ) 801 801 ; "optional" white space 802 802 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( [ obs-fold ] <a href="#core.rules" class="smpl">WSP</a> ) … … 805 805 ; "bad" white space 806 806 <a href="#rule.whitespace" class="smpl">obs-fold</a> = <a href="#core.rules" class="smpl">CRLF</a> 807 ; <span class="comment">[rfc.comment.3: to be explained: do not produce]</span> 808 </pre></div> 809 <div id="rule.TEXT"> 810 <p id="rfc.section.2.2.p.6"> The TEXT rule is only used for descriptive field contents and values that are not intended to be interpreted by the message 807 ; <span class="comment">[rfc.comment.2: to be explained: do not produce]</span> 808 </pre><div id="rule.TEXT"> 809 <p id="rfc.section.2.2.p.7"> The TEXT rule is only used for descriptive field contents and values that are not intended to be interpreted by the message 811 810 parser. Words of *TEXT <em class="bcp14">MAY</em> contain characters from character sets other than ISO-8859-1 <a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.1"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a> only when encoded according to the rules of <a href="#RFC2047" id="rfc.xref.RFC2047.1"><cite title="MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text">[RFC2047]</cite></a>. 812 811 </p> … … 814 813 <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.5"></span> <a href="#rule.TEXT" class="smpl">TEXT</a> = %x20-7E / %x80-FF / <a href="#rule.LWS" class="smpl">LWS</a> 815 814 ; any <a href="#core.rules" class="smpl">OCTET</a> except <a href="#core.rules" class="smpl">CTL</a>s, but including <a href="#rule.LWS" class="smpl">LWS</a> 816 </pre><p id="rfc.section.2.2.p. 8">A CRLF is allowed in the definition of TEXT only as part of a header field continuation. It is expected that the folding LWS815 </pre><p id="rfc.section.2.2.p.9">A CRLF is allowed in the definition of TEXT only as part of a header field continuation. It is expected that the folding LWS 817 816 will be replaced with a single SP before interpretation of the TEXT value. 818 817 </p> 819 818 <div id="rule.token.separators"> 820 <p id="rfc.section.2.2.p. 9"> Many HTTP/1.1 header field values consist of words separated by LWS or special characters. These special characters <em class="bcp14">MUST</em> be in a quoted string to be used within a parameter value (as defined in <a href="#transfer.codings" title="Transfer Codings">Section 3.4</a>).819 <p id="rfc.section.2.2.p.10"> Many HTTP/1.1 header field values consist of words separated by LWS or special characters. These special characters <em class="bcp14">MUST</em> be in a quoted string to be used within a parameter value (as defined in <a href="#transfer.codings" title="Transfer Codings">Section 3.4</a>). 821 820 </p> 822 821 </div> … … 833 832 <a href="#rule.token.separators" class="smpl">token</a> = 1*<a href="#rule.token.separators" class="smpl">tchar</a> 834 833 </pre><div id="rule.comment"> 835 <p id="rfc.section.2.2.p.1 1"> Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed834 <p id="rfc.section.2.2.p.12"> Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed 836 835 in fields containing "comment" as part of their field value definition. In all other fields, parentheses are considered part 837 836 of the field value. … … 841 840 <a href="#rule.comment" class="smpl">ctext</a> = <any <a href="#rule.TEXT" class="smpl">TEXT</a> excluding "(" and ")"> 842 841 </pre><div id="rule.quoted-string"> 843 <p id="rfc.section.2.2.p.1 3"> A string of text is parsed as a single word if it is quoted using double-quote marks.</p>842 <p id="rfc.section.2.2.p.14"> A string of text is parsed as a single word if it is quoted using double-quote marks.</p> 844 843 </div> 845 844 <div id="rfc.figure.u.11"></div><pre class="inline"><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></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> ) 846 845 <a href="#rule.quoted-string" class="smpl">qdtext</a> = <any <a href="#rule.TEXT" class="smpl">TEXT</a> excluding <a href="#core.rules" class="smpl">DQUOTE</a> and "\"> 847 846 </pre><div id="rule.quoted-pair"> 848 <p id="rfc.section.2.2.p.1 5"> The backslash character ("\") <em class="bcp14">MAY</em> be used as a single-character quoting mechanism only within quoted-string and comment constructs.847 <p id="rfc.section.2.2.p.16"> The backslash character ("\") <em class="bcp14">MAY</em> be used as a single-character quoting mechanism only within quoted-string and comment constructs. 849 848 </p> 850 849 </div> … … 1159 1158 ; and consisting of either *<a href="#rule.TEXT" class="smpl">TEXT</a> or combinations 1160 1159 ; of <a href="#rule.token.separators" class="smpl">token</a>, <a href="#rule.token.separators" class="smpl">separators</a>, and <a href="#rule.quoted-string" class="smpl">quoted-string</a> 1161 </pre><p id="rfc.section.4.2.p.3"> <span class="comment">[rfc.comment. 4: whitespace between field-name and colon is an error and MUST NOT be accepted]</span>1160 </pre><p id="rfc.section.4.2.p.3"> <span class="comment">[rfc.comment.3: whitespace between field-name and colon is an error and MUST NOT be accepted]</span> 1162 1161 </p> 1163 1162 <p id="rfc.section.4.2.p.4">The field-content does not include any leading or trailing LWS: linear white space occurring before the first non-whitespace -
draft-ietf-httpbis/latest/p1-messaging.xml
r366 r367 515 515 <x:anchor-alias value="RWS"/> 516 516 <x:anchor-alias value="obs-fold"/> 517 <cref>Add prose introducing the different kinds of WS.</cref> 517 518 </t> 518 519 <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"/> 519 <x:ref>OWS</x:ref> = 1*( [ obs-fold ] <x:ref>WSP</x:ref> )520 <x:ref>OWS</x:ref> = *( [ obs-fold ] <x:ref>WSP</x:ref> ) 520 521 ; "optional" white space 521 522 <x:ref>RWS</x:ref> = 1*( [ obs-fold ] <x:ref>WSP</x:ref> ) … … 526 527 ; <cref>to be explained: do not produce</cref> 527 528 </artwork></figure> 528 </t>529 529 <t anchor="rule.TEXT"> 530 530 <x:anchor-alias value="TEXT"/>
Note: See TracChangeset
for help on using the changeset viewer.