Changeset 1425


Ignore:
Timestamp:
Aug 31, 2011, 6:23:29 PM (8 years ago)
Author:
fielding@…
Message:

Fix incorrect definition of line folding (obs-fold) from [351].
Remove optional WSP from chunked encoding grammar added in [353].
Do not use WSP anywhere (it is misleading because it dosn't match the real
definition of whitespace).

Related to #36

Location:
draft-ietf-httpbis/latest
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/httpbis.abnf

    r1406 r1425  
    4444Max-Forwards = 1*DIGIT
    4545Method = token
    46 OWS = *( [ obs-fold ] WSP )
     46OWS = *( SP / HTAB / obs-fold )
    4747Pragma = *( "," OWS ) pragma-directive *( OWS "," [ OWS pragma-directive ] )
    4848Proxy-Authenticate = *( "," OWS ) challenge *( OWS "," [ OWS challenge ] )
    4949Proxy-Authorization = credentials
    50 RWS = 1*( [ obs-fold ] WSP )
     50RWS = 1*( SP / HTAB / obs-fold )
    5151Range = byte-ranges-specifier / other-ranges-specifier
    52 Reason-Phrase = *( WSP / VCHAR / obs-text )
     52Reason-Phrase = *( HTAB / SP / VCHAR / obs-text )
    5353Referer = absolute-URI / partial-URI
    5454Request = Request-Line *( header-field CRLF ) CRLF [ message-body ]
     
    9191challenge = auth-scheme [ 1*SP ( b64token / [ ( "," / auth-param ) *( OWS "," [ OWS auth-param ] ) ] ) ]
    9292charset = token
    93 chunk = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
     93chunk = chunk-size [ chunk-ext ] CRLF chunk-data CRLF
    9494chunk-data = 1*OCTET
    95 chunk-ext = *( ";" *WSP chunk-ext-name [ "=" chunk-ext-val ] *WSP )
     95chunk-ext = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
    9696chunk-ext-name = token
    9797chunk-ext-val = token / quoted-str-nf
     
    132132expectation-extension = token [ "=" ( token / quoted-string ) *expect-params ]
    133133extension-pragma = token [ "=" ( token / quoted-string ) ]
    134 field-content = *( WSP / VCHAR / obs-text )
     134field-content = *( HTAB / SP / VCHAR / obs-text )
    135135field-name = token
    136 field-value = *( field-content / OWS )
     136field-value = *( field-content / obs-fold )
    137137first-byte-pos = 1*DIGIT
    138 header-field = field-name ":" OWS field-value OWS
     138header-field = field-name ":" OWS field-value BWS
    139139hour = 2DIGIT
    140140http-URI = "http://" authority path-abempty [ "?" query ]
     
    144144language-tag = <Language-Tag, defined in [RFC5646], Section 2.1>
    145145last-byte-pos = 1*DIGIT
    146 last-chunk = 1*"0" *WSP [ chunk-ext ] CRLF
     146last-chunk = 1*"0" [ chunk-ext ] CRLF
    147147mailbox = <mailbox, defined in [RFC5322], Section 3.4>
    148148media-range = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS ";" OWS parameter )
     
    164164
    165165obs-date = rfc850-date / asctime-date
    166 obs-fold = CRLF
     166obs-fold = CRLF ( SP / HTAB )
    167167obs-text = %x80-FF
    168168opaque-tag = quoted-string
     
    186186 / %x5D-7E ; ']'-'~'
    187187 / obs-text
    188 qdtext-nf = WSP / "!" / %x23-5B ; '#'-'['
     188qdtext-nf = HTAB / SP / "!" / %x23-5B ; '#'-'['
    189189 / %x5D-7E ; ']'-'~'
    190190 / obs-text
    191191query = <query, defined in [RFC3986], Section 3.4>
    192 quoted-cpair = "\" ( WSP / VCHAR / obs-text )
    193 quoted-pair = "\" ( WSP / VCHAR / obs-text )
     192quoted-cpair = "\" ( HTAB / SP / VCHAR / obs-text )
     193quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
    194194quoted-str-nf = DQUOTE *( qdtext-nf / quoted-pair ) DQUOTE
    195195quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
  • draft-ietf-httpbis/latest/p1-messaging.html

    r1424 r1425  
    782782      <div id="core.rules">
    783783         <p id="rfc.section.1.2.p.2">                        The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    784             (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible <a href="#USASCII" id="rfc.xref.USASCII.1"><cite title="Coded Character Set -- 7-bit American Standard Code for Information Interchange">[USASCII]</cite></a> character), and WSP (whitespace).
     784            (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR
     785            (any visible <a href="#USASCII" id="rfc.xref.USASCII.1"><cite title="Coded Character Set -- 7-bit American Standard Code for Information Interchange">[USASCII]</cite></a> character).
    785786         </p>
    786787      </div>
     
    827828      </div>
    828829      <div id="rule.OWS">
    829          <p id="rfc.section.1.2.2.p.2">The OWS rule is used where zero or more linear whitespace octets might appear. OWS <em class="bcp14">SHOULD</em> either not be produced or be produced as a single SP. Multiple OWS octets that occur within field-content <em class="bcp14">SHOULD</em> either be replaced with a single SP or transformed to all SP octets (each WSP octet other than SP replaced with SP) before
    830             interpreting the field value or forwarding the message downstream.
     830         <p id="rfc.section.1.2.2.p.2">The OWS rule is used where zero or more linear whitespace octets might appear. OWS <em class="bcp14">SHOULD</em> either not be produced or be produced as a single SP. Multiple OWS octets that occur within field-content <em class="bcp14">SHOULD</em> either be replaced with a single SP or transformed to all SP octets (each octet other than SP replaced with SP) before interpreting
     831            the field value or forwarding the message downstream.
    831832         </p>
    832833      </div>
     
    843844         <p id="rfc.section.1.2.2.p.5">        </p>
    844845      </div>
    845       <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span>  <a href="#rule.whitespace" class="smpl">OWS</a>            = *( [ obs-fold ] <a href="#core.rules" class="smpl">WSP</a> )
     846      <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></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> / obs-fold )
    846847                 ; "optional" whitespace
    847   <a href="#rule.whitespace" class="smpl">RWS</a>            = 1*( [ obs-fold ] <a href="#core.rules" class="smpl">WSP</a> )
     848  <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 )
    848849                 ; "required" whitespace
    849850  <a href="#rule.whitespace" class="smpl">BWS</a>            = <a href="#rule.whitespace" class="smpl">OWS</a>
    850851                 ; "bad" whitespace
    851   <a href="#rule.whitespace" class="smpl">obs-fold</a>       = <a href="#core.rules" class="smpl">CRLF</a>
    852                  ; see <a href="#header.fields" title="Header Fields">Section&nbsp;3.2</a>
     852  <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> )
     853                 ; obsolete line folding
     854                 ; see <a href="#field.parsing" title="Field Parsing">Section&nbsp;3.2.1</a>
    853855</pre><h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="architecture" href="#architecture">HTTP-related architecture</a></h1>
    854856      <p id="rfc.section.2.p.1">HTTP was created for the World Wide Web architecture and has evolved over time to support the scalability needs of a worldwide
     
    12131215         value.
    12141216      </p>
    1215       <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.29"></span><span id="rfc.iref.g.30"></span><span id="rfc.iref.g.31"></span><span id="rfc.iref.g.32"></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>
     1217      <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.29"></span><span id="rfc.iref.g.30"></span><span id="rfc.iref.g.31"></span><span id="rfc.iref.g.32"></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>
    12161218  <a href="#header.fields" class="smpl">field-name</a>     = <a href="#rule.token.separators" class="smpl">token</a>
    1217   <a href="#header.fields" class="smpl">field-value</a>    = *( <a href="#header.fields" class="smpl">field-content</a> / <a href="#rule.whitespace" class="smpl">OWS</a> )
    1218   <a href="#header.fields" class="smpl">field-content</a>  = *( <a href="#core.rules" class="smpl">WSP</a> / <a href="#core.rules" class="smpl">VCHAR</a> / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     1219  <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> )
     1220  <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> )
    12191221</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,
    12201222         the Date header field is defined in <a href="#header.date" id="rfc.xref.header.date.1" title="Date">Section&nbsp;9.3</a> as containing the origination timestamp for the message in which it appears.
     
    12541256      </p>
    12551257      <p id="rfc.section.3.2.1.p.3">Historically, HTTP header field values could be extended over multiple lines by preceding each extra line with at least one
    1256          space or horizontal tab octet (line folding). This specification deprecates such line folding except within the message/http
    1257          media type (<a href="#internet.media.type.message.http" title="Internet Media Type message/http">Section&nbsp;10.3.1</a>). HTTP senders <em class="bcp14">MUST NOT</em> produce messages that include line folding (i.e., that contain any field-content that matches the obs-fold rule) unless the
     1258         space or horizontal tab (obs-fold). This specification deprecates such line folding except within the message/http media type
     1259         (<a href="#internet.media.type.message.http" title="Internet Media Type message/http">Section&nbsp;10.3.1</a>). HTTP senders <em class="bcp14">MUST NOT</em> produce messages that include line folding (i.e., that contain any field-content that matches the obs-fold rule) unless the
    12581260         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
    12591261         (to avoid buffer copying) prior to interpreting the field value or forwarding the message downstream.
     
    12951297         <p id="rfc.section.3.2.3.p.5">  The backslash octet ("\") can be used as a single-octet quoting mechanism within quoted-string constructs:</p>
    12961298      </div>
    1297       <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.40"></span>  <a href="#rule.quoted-pair" class="smpl">quoted-pair</a>    = "\" ( <a href="#core.rules" class="smpl">WSP</a> / <a href="#core.rules" class="smpl">VCHAR</a> / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     1299      <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.40"></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> )
    12981300</pre><p id="rfc.section.3.2.3.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.
    12991301      </p>
     
    13101312         <p id="rfc.section.3.2.3.p.11">  The backslash octet ("\") can be used as a single-octet quoting mechanism within comment constructs:</p>
    13111313      </div>
    1312       <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.43"></span>  <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</a>    = "\" ( <a href="#core.rules" class="smpl">WSP</a> / <a href="#core.rules" class="smpl">VCHAR</a> / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     1314      <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.43"></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> )
    13131315</pre><p id="rfc.section.3.2.3.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
    13141316         ")").
     
    16321634      </ul>
    16331635      <div id="rfc.figure.u.40"></div><pre class="inline"><span id="rfc.iref.g.51"></span><span id="rfc.iref.g.52"></span>  <a href="#status.code.and.reason.phrase" class="smpl">Status-Code</a>    = 3<a href="#core.rules" class="smpl">DIGIT</a>
    1634   <a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a>  = *( <a href="#core.rules" class="smpl">WSP</a> / <a href="#core.rules" class="smpl">VCHAR</a> / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     1636  <a href="#status.code.and.reason.phrase" 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> )
    16351637</pre><h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="protocol.parameters" href="#protocol.parameters">Protocol Parameters</a></h1>
    16361638      <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a id="date.time.formats.full.date" href="#date.time.formats.full.date">Date/Time Formats: Full Date</a></h2>
     
    17571759                   <a href="#core.rules" class="smpl">CRLF</a>
    17581760 
    1759   <a href="#chunked.encoding" class="smpl">chunk</a>          = <a href="#chunked.encoding" class="smpl">chunk-size</a> *WSP [ <a href="#chunked.encoding" class="smpl">chunk-ext</a> ] <a href="#core.rules" class="smpl">CRLF</a>
     1761  <a href="#chunked.encoding" class="smpl">chunk</a>          = <a href="#chunked.encoding" class="smpl">chunk-size</a> [ <a href="#chunked.encoding" class="smpl">chunk-ext</a> ] <a href="#core.rules" class="smpl">CRLF</a>
    17601762                   <a href="#chunked.encoding" class="smpl">chunk-data</a> <a href="#core.rules" class="smpl">CRLF</a>
    17611763  <a href="#chunked.encoding" class="smpl">chunk-size</a>     = 1*<a href="#core.rules" class="smpl">HEXDIG</a>
    1762   <a href="#chunked.encoding" class="smpl">last-chunk</a>     = 1*("0") *WSP [ <a href="#chunked.encoding" class="smpl">chunk-ext</a> ] <a href="#core.rules" class="smpl">CRLF</a>
     1764  <a href="#chunked.encoding" class="smpl">last-chunk</a>     = 1*("0") [ <a href="#chunked.encoding" class="smpl">chunk-ext</a> ] <a href="#core.rules" class="smpl">CRLF</a>
    17631765 
    1764   <a href="#chunked.encoding" class="smpl">chunk-ext</a>      = *( ";" *WSP <a href="#chunked.encoding" class="smpl">chunk-ext-name</a>
    1765                       [ "=" <a href="#chunked.encoding" class="smpl">chunk-ext-val</a> ] *WSP )
     1766  <a href="#chunked.encoding" class="smpl">chunk-ext</a>      = *( ";" <a href="#chunked.encoding" class="smpl">chunk-ext-name</a>
     1767                      [ "=" <a href="#chunked.encoding" class="smpl">chunk-ext-val</a> ] )
    17661768  <a href="#chunked.encoding" class="smpl">chunk-ext-name</a> = <a href="#rule.token.separators" class="smpl">token</a>
    17671769  <a href="#chunked.encoding" class="smpl">chunk-ext-val</a>  = <a href="#rule.token.separators" class="smpl">token</a> / <a href="#chunked.encoding" class="smpl">quoted-str-nf</a>
     
    17711773  <a href="#chunked.encoding" class="smpl">quoted-str-nf</a>  = <a href="#core.rules" class="smpl">DQUOTE</a> *( <a href="#chunked.encoding" class="smpl">qdtext-nf</a> / <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> ) <a href="#core.rules" class="smpl">DQUOTE</a>
    17721774                 ; like <a href="#rule.quoted-string" class="smpl">quoted-string</a>, but disallowing line folding
    1773   <a href="#chunked.encoding" class="smpl">qdtext-nf</a>      = <a href="#core.rules" class="smpl">WSP</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>
    1774                  ; <a href="#core.rules" class="smpl">WSP</a> / &lt;<a href="#core.rules" class="smpl">VCHAR</a> except <a href="#core.rules" class="smpl">DQUOTE</a> and "\"&gt; / <a href="#rule.quoted-string" class="smpl">obs-text</a>
     1775  <a href="#chunked.encoding" class="smpl">qdtext-nf</a>      = <a href="#core.rules" class="smpl">HTAB</a> / <a href="#core.rules" class="smpl">SP</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>
    17751776</pre><p id="rfc.section.6.2.1.p.3">The chunk-size field is a string of hex digits indicating the size of the chunk-data in octets. The chunked encoding is ended
    17761777         by any chunk whose size is zero, followed by the trailer, which is terminated by an empty line.
     
    31443145<a href="#method" class="smpl">Method</a> = token
    31453146
    3146 <a href="#rule.whitespace" class="smpl">OWS</a> = *( [ obs-fold ] WSP )
    3147 
    3148 <a href="#rule.whitespace" class="smpl">RWS</a> = 1*( [ obs-fold ] WSP )
    3149 <a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a> = *( WSP / VCHAR / obs-text )
     3147<a href="#rule.whitespace" class="smpl">OWS</a> = *( SP / HTAB / obs-fold )
     3148
     3149<a href="#rule.whitespace" class="smpl">RWS</a> = 1*( SP / HTAB / obs-fold )
     3150<a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a> = *( HTAB / SP / VCHAR / obs-text )
    31503151<a href="#request" class="smpl">Request</a> = Request-Line *( header-field CRLF ) CRLF [ message-body ]
    31513152<a href="#request-line" class="smpl">Request-Line</a> = Method SP request-target SP HTTP-Version CRLF
     
    31723173<a href="#uri" class="smpl">authority</a> = &lt;authority, defined in [RFC3986], Section 3.2&gt;
    31733174
    3174 <a href="#chunked.encoding" class="smpl">chunk</a> = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
     3175<a href="#chunked.encoding" class="smpl">chunk</a> = chunk-size [ chunk-ext ] CRLF chunk-data CRLF
    31753176<a href="#chunked.encoding" class="smpl">chunk-data</a> = 1*OCTET
    3176 <a href="#chunked.encoding" class="smpl">chunk-ext</a> = *( ";" *WSP chunk-ext-name [ "=" chunk-ext-val ] *WSP )
     3177<a href="#chunked.encoding" class="smpl">chunk-ext</a> = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
    31773178<a href="#chunked.encoding" class="smpl">chunk-ext-name</a> = token
    31783179<a href="#chunked.encoding" class="smpl">chunk-ext-val</a> = token / quoted-str-nf
     
    32043205 / %x53.75.6E.64.61.79 ; Sunday
    32053206
    3206 <a href="#header.fields" class="smpl">field-content</a> = *( WSP / VCHAR / obs-text )
     3207<a href="#header.fields" class="smpl">field-content</a> = *( HTAB / SP / VCHAR / obs-text )
    32073208<a href="#header.fields" class="smpl">field-name</a> = token
    3208 <a href="#header.fields" class="smpl">field-value</a> = *( field-content / OWS )
    3209 
    3210 <a href="#header.fields" class="smpl">header-field</a> = field-name ":" OWS field-value OWS
     3209<a href="#header.fields" class="smpl">field-value</a> = *( field-content / obs-fold )
     3210
     3211<a href="#header.fields" class="smpl">header-field</a> = field-name ":" OWS field-value BWS
    32113212<a href="#preferred.date.format" class="smpl">hour</a> = 2DIGIT
    32123213<a href="#http.uri" class="smpl">http-URI</a> = "http://" authority path-abempty [ "?" query ]
    32133214<a href="#https.uri" class="smpl">https-URI</a> = "https://" authority path-abempty [ "?" query ]
    32143215
    3215 <a href="#chunked.encoding" class="smpl">last-chunk</a> = 1*"0" *WSP [ chunk-ext ] CRLF
     3216<a href="#chunked.encoding" class="smpl">last-chunk</a> = 1*"0" [ chunk-ext ] CRLF
    32163217
    32173218<a href="#message.body" class="smpl">message-body</a> = *OCTET
     
    32313232
    32323233<a href="#obsolete.date.formats" class="smpl">obs-date</a> = rfc850-date / asctime-date
    3233 <a href="#rule.whitespace" class="smpl">obs-fold</a> = CRLF
     3234<a href="#rule.whitespace" class="smpl">obs-fold</a> = CRLF ( SP / HTAB )
    32343235<a href="#rule.quoted-string" class="smpl">obs-text</a> = %x80-FF
    32353236
     
    32473248 / %x5D-7E ; ']'-'~'
    32483249 / obs-text
    3249 <a href="#chunked.encoding" class="smpl">qdtext-nf</a> = WSP / "!" / %x23-5B ; '#'-'['
     3250<a href="#chunked.encoding" class="smpl">qdtext-nf</a> = HTAB / SP / "!" / %x23-5B ; '#'-'['
    32503251 / %x5D-7E ; ']'-'~'
    32513252 / obs-text
    32523253<a href="#uri" class="smpl">query</a> = &lt;query, defined in [RFC3986], Section 3.4&gt;
    3253 <a href="#rule.quoted-cpair" class="smpl">quoted-cpair</a> = "\" ( WSP / VCHAR / obs-text )
    3254 <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> = "\" ( WSP / VCHAR / obs-text )
     3254<a href="#rule.quoted-cpair" class="smpl">quoted-cpair</a> = "\" ( HTAB / SP / VCHAR / obs-text )
     3255<a href="#rule.quoted-pair" class="smpl">quoted-pair</a> = "\" ( HTAB / SP / VCHAR / obs-text )
    32553256<a href="#chunked.encoding" class="smpl">quoted-str-nf</a> = DQUOTE *( qdtext-nf / quoted-pair ) DQUOTE
    32563257<a href="#rule.quoted-string" class="smpl">quoted-string</a> = DQUOTE *( qdtext / quoted-pair ) DQUOTE
     
    33603361      <ul>
    33613362         <li>Update media type registrations to use RFC4288 template.</li>
    3362          <li>Use names of RFC4234 core rules DQUOTE and WSP, fix broken ABNF for chunk-data (work in progress on &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;)
     3363         <li>Use names of RFC4234 core rules DQUOTE and HTAB, fix broken ABNF for chunk-data (work in progress on &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;)
    33633364         </li>
    33643365      </ul>
     
    37513752                        <li><tt>Host</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.95"><b>9.4</b></a></li>
    37523753                        <li><tt>hour</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.57"><b>6.1</b></a></li>
     3754                        <li>HTAB&nbsp;&nbsp;<a href="#rfc.iref.g.8"><b>1.2</b></a></li>
    37533755                        <li><tt>HTTP-date</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.53"><b>6.1</b></a></li>
    37543756                        <li><tt>HTTP-message</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.28"><b>3</b></a></li>
     
    37583760                        <li><tt>https-URI</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.27"><b>2.7.2</b></a></li>
    37593761                        <li><tt>last-chunk</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.79"><b>6.2.1</b></a></li>
    3760                         <li>LF&nbsp;&nbsp;<a href="#rfc.iref.g.8"><b>1.2</b></a></li>
     3762                        <li>LF&nbsp;&nbsp;<a href="#rfc.iref.g.9"><b>1.2</b></a></li>
    37613763                        <li><tt>message-body</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.44"><b>3.3</b></a></li>
    37623764                        <li><tt>Method</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.47"><b>4.1.1</b></a></li>
     
    37653767                        <li><tt>obs-date</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.66"><b>6.1</b></a></li>
    37663768                        <li><tt>obs-text</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.39"><b>3.2.3</b></a></li>
    3767                         <li>OCTET&nbsp;&nbsp;<a href="#rfc.iref.g.9"><b>1.2</b></a></li>
     3769                        <li>OCTET&nbsp;&nbsp;<a href="#rfc.iref.g.10"><b>1.2</b></a></li>
    37683770                        <li><tt>OWS</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.13"><b>1.2.2</b></a></li>
    37693771                        <li><tt>path-absolute</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.22"><b>2.7</b></a></li>
     
    37933795                        <li><tt>RWS</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.14"><b>1.2.2</b></a></li>
    37943796                        <li><tt>second</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.59"><b>6.1</b></a></li>
    3795                         <li>SP&nbsp;&nbsp;<a href="#rfc.iref.g.10"><b>1.2</b></a></li>
     3797                        <li>SP&nbsp;&nbsp;<a href="#rfc.iref.g.11"><b>1.2</b></a></li>
    37963798                        <li><tt>special</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.36"><b>3.2.3</b></a></li>
    37973799                        <li><tt>Status-Code</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.51"><b>5.1.1</b></a></li>
     
    38143816                        <li><tt>URI-reference</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.19"><b>2.7</b></a></li>
    38153817                        <li><tt>value</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.73"><b>6.2</b></a></li>
    3816                         <li>VCHAR&nbsp;&nbsp;<a href="#rfc.iref.g.11"><b>1.2</b></a></li>
     3818                        <li>VCHAR&nbsp;&nbsp;<a href="#rfc.iref.g.12"><b>1.2</b></a></li>
    38173819                        <li><tt>Via</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.103"><b>9.9</b></a></li>
    38183820                        <li><tt>word</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.33"><b>3.2.3</b></a></li>
    3819                         <li>WSP&nbsp;&nbsp;<a href="#rfc.iref.g.12"><b>1.2</b></a></li>
    38203821                        <li><tt>year</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.64"><b>6.1</b></a></li>
    38213822                     </ul>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r1424 r1425  
    324324<iref primary="true" item="Grammar" subitem="DQUOTE"/>
    325325<iref primary="true" item="Grammar" subitem="HEXDIG"/>
     326<iref primary="true" item="Grammar" subitem="HTAB"/>
    326327<iref primary="true" item="Grammar" subitem="LF"/>
    327328<iref primary="true" item="Grammar" subitem="OCTET"/>
    328329<iref primary="true" item="Grammar" subitem="SP"/>
    329330<iref primary="true" item="Grammar" subitem="VCHAR"/>
    330 <iref primary="true" item="Grammar" subitem="WSP"/>
    331331<t>
    332332   This specification uses the Augmented Backus-Naur Form (ABNF) notation
     
    341341  <x:anchor-alias value="DQUOTE"/>
    342342  <x:anchor-alias value="HEXDIG"/>
     343  <x:anchor-alias value="HTAB"/>
    343344  <x:anchor-alias value="LF"/>
    344345  <x:anchor-alias value="OCTET"/>
    345346  <x:anchor-alias value="SP"/>
    346347  <x:anchor-alias value="VCHAR"/>
    347   <x:anchor-alias value="WSP"/>
    348348   The following core rules are included by
    349349   reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
    350350   ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
    351351   DIGIT (decimal 0-9), DQUOTE (double quote),
    352    HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    353    OCTET (any 8-bit sequence of data), SP (space),
    354    VCHAR (any visible <xref target="USASCII"/> character),
    355    and WSP (whitespace).
     352   HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed),
     353   OCTET (any 8-bit sequence of data), SP (space), and
     354   VCHAR (any visible <xref target="USASCII"/> character).
    356355</t>
    357356<t>
     
    441440   appear. OWS &SHOULD; either not be produced or be produced as a single
    442441   SP. Multiple OWS octets that occur within field-content &SHOULD; either
    443    be replaced with a single SP or transformed to all SP octets (each WSP
     442   be replaced with a single SP or transformed to all SP octets (each
    444443   octet other than SP replaced with SP) before interpreting the field value
    445444   or forwarding the message downstream.
     
    465464</t>
    466465<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"/>
    467   <x:ref>OWS</x:ref>            = *( [ obs-fold ] <x:ref>WSP</x:ref> )
     466  <x:ref>OWS</x:ref>            = *( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> / obs-fold )
    468467                 ; "optional" whitespace
    469   <x:ref>RWS</x:ref>            = 1*( [ obs-fold ] <x:ref>WSP</x:ref> )
     468  <x:ref>RWS</x:ref>            = 1*( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> / obs-fold )
    470469                 ; "required" whitespace
    471470  <x:ref>BWS</x:ref>            = <x:ref>OWS</x:ref>
    472471                 ; "bad" whitespace
    473   <x:ref>obs-fold</x:ref>       = <x:ref>CRLF</x:ref>
    474                  ; see <xref target="header.fields"/>
     472  <x:ref>obs-fold</x:ref>       = <x:ref>CRLF</x:ref> ( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> )
     473                 ; obsolete line folding
     474                 ; see <xref target="field.parsing"/>
    475475</artwork></figure>
    476476</section>
     
    12251225</t>
    12261226<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"/>
    1227   <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>
     1227  <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>
    12281228  <x:ref>field-name</x:ref>     = <x:ref>token</x:ref>
    1229   <x:ref>field-value</x:ref>    = *( <x:ref>field-content</x:ref> / <x:ref>OWS</x:ref> )
    1230   <x:ref>field-content</x:ref>  = *( <x:ref>WSP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
     1229  <x:ref>field-value</x:ref>    = *( <x:ref>field-content</x:ref> / <x:ref>obs-fold</x:ref> )
     1230  <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> )
    12311231</artwork></figure>
    12321232<t>
     
    13101310   Historically, HTTP header field values could be extended over multiple
    13111311   lines by preceding each extra line with at least one space or horizontal
    1312    tab octet (line folding). This specification deprecates such line
     1312   tab (obs-fold). This specification deprecates such line
    13131313   folding except within the message/http media type
    13141314   (<xref target="internet.media.type.message.http"/>).
     
    13971397</t>
    13981398<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-pair"/>
    1399   <x:ref>quoted-pair</x:ref>    = "\" ( <x:ref>WSP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
     1399  <x:ref>quoted-pair</x:ref>    = "\" ( <x:ref>HTAB</x:ref> /<x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
    14001400</artwork></figure>
    14011401<t>
     
    14241424</t>
    14251425<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-cpair"/>
    1426   <x:ref>quoted-cpair</x:ref>    = "\" ( <x:ref>WSP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
     1426  <x:ref>quoted-cpair</x:ref>    = "\" ( <x:ref>HTAB</x:ref> /<x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
    14271427</artwork></figure>
    14281428<t>
     
    20442044<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Status-Code"/><iref primary="true" item="Grammar" subitem="Reason-Phrase"/>
    20452045  <x:ref>Status-Code</x:ref>    = 3<x:ref>DIGIT</x:ref>
    2046   <x:ref>Reason-Phrase</x:ref>  = *( <x:ref>WSP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
     2046  <x:ref>Reason-Phrase</x:ref>  = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
    20472047</artwork></figure>
    20482048</section>
     
    22802280                   <x:ref>CRLF</x:ref>
    22812281 
    2282   <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> *WSP [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
     2282  <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    22832283                   <x:ref>chunk-data</x:ref> <x:ref>CRLF</x:ref>
    22842284  <x:ref>chunk-size</x:ref>     = 1*<x:ref>HEXDIG</x:ref>
    2285   <x:ref>last-chunk</x:ref>     = 1*("0") *WSP [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
     2285  <x:ref>last-chunk</x:ref>     = 1*("0") [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    22862286 
    2287   <x:ref>chunk-ext</x:ref>      = *( ";" *WSP <x:ref>chunk-ext-name</x:ref>
    2288                       [ "=" <x:ref>chunk-ext-val</x:ref> ] *WSP )
     2287  <x:ref>chunk-ext</x:ref>      = *( ";" <x:ref>chunk-ext-name</x:ref>
     2288                      [ "=" <x:ref>chunk-ext-val</x:ref> ] )
    22892289  <x:ref>chunk-ext-name</x:ref> = <x:ref>token</x:ref>
    22902290  <x:ref>chunk-ext-val</x:ref>  = <x:ref>token</x:ref> / <x:ref>quoted-str-nf</x:ref>
     
    22942294  <x:ref>quoted-str-nf</x:ref>  = <x:ref>DQUOTE</x:ref> *( <x:ref>qdtext-nf</x:ref> / <x:ref>quoted-pair</x:ref> ) <x:ref>DQUOTE</x:ref>
    22952295                 ; like <x:ref>quoted-string</x:ref>, but disallowing line folding
    2296   <x:ref>qdtext-nf</x:ref>      = <x:ref>WSP</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref>
    2297                  ; <x:ref>WSP</x:ref> / &lt;<x:ref>VCHAR</x:ref> except <x:ref>DQUOTE</x:ref> and "\"&gt; / <x:ref>obs-text</x:ref>
     2296  <x:ref>qdtext-nf</x:ref>      = <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref>
    22982297</artwork></figure>
    22992298<t>
     
    53075306<x:ref>Method</x:ref> = token
    53085307
    5309 <x:ref>OWS</x:ref> = *( [ obs-fold ] WSP )
    5310 
    5311 <x:ref>RWS</x:ref> = 1*( [ obs-fold ] WSP )
    5312 <x:ref>Reason-Phrase</x:ref> = *( WSP / VCHAR / obs-text )
     5308<x:ref>OWS</x:ref> = *( SP / HTAB / obs-fold )
     5309
     5310<x:ref>RWS</x:ref> = 1*( SP / HTAB / obs-fold )
     5311<x:ref>Reason-Phrase</x:ref> = *( HTAB / SP / VCHAR / obs-text )
    53135312<x:ref>Request</x:ref> = Request-Line *( header-field CRLF ) CRLF [ message-body ]
    53145313<x:ref>Request-Line</x:ref> = Method SP request-target SP HTTP-Version CRLF
     
    53355334<x:ref>authority</x:ref> = &lt;authority, defined in [RFC3986], Section 3.2&gt;
    53365335
    5337 <x:ref>chunk</x:ref> = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
     5336<x:ref>chunk</x:ref> = chunk-size [ chunk-ext ] CRLF chunk-data CRLF
    53385337<x:ref>chunk-data</x:ref> = 1*OCTET
    5339 <x:ref>chunk-ext</x:ref> = *( ";" *WSP chunk-ext-name [ "=" chunk-ext-val ] *WSP )
     5338<x:ref>chunk-ext</x:ref> = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
    53405339<x:ref>chunk-ext-name</x:ref> = token
    53415340<x:ref>chunk-ext-val</x:ref> = token / quoted-str-nf
     
    53675366 / %x53.75.6E.64.61.79 ; Sunday
    53685367
    5369 <x:ref>field-content</x:ref> = *( WSP / VCHAR / obs-text )
     5368<x:ref>field-content</x:ref> = *( HTAB / SP / VCHAR / obs-text )
    53705369<x:ref>field-name</x:ref> = token
    5371 <x:ref>field-value</x:ref> = *( field-content / OWS )
    5372 
    5373 <x:ref>header-field</x:ref> = field-name ":" OWS field-value OWS
     5370<x:ref>field-value</x:ref> = *( field-content / obs-fold )
     5371
     5372<x:ref>header-field</x:ref> = field-name ":" OWS field-value BWS
    53745373<x:ref>hour</x:ref> = 2DIGIT
    53755374<x:ref>http-URI</x:ref> = "http://" authority path-abempty [ "?" query ]
    53765375<x:ref>https-URI</x:ref> = "https://" authority path-abempty [ "?" query ]
    53775376
    5378 <x:ref>last-chunk</x:ref> = 1*"0" *WSP [ chunk-ext ] CRLF
     5377<x:ref>last-chunk</x:ref> = 1*"0" [ chunk-ext ] CRLF
    53795378
    53805379<x:ref>message-body</x:ref> = *OCTET
     
    53945393
    53955394<x:ref>obs-date</x:ref> = rfc850-date / asctime-date
    5396 <x:ref>obs-fold</x:ref> = CRLF
     5395<x:ref>obs-fold</x:ref> = CRLF ( SP / HTAB )
    53975396<x:ref>obs-text</x:ref> = %x80-FF
    53985397
     
    54105409 / %x5D-7E ; ']'-'~'
    54115410 / obs-text
    5412 <x:ref>qdtext-nf</x:ref> = WSP / "!" / %x23-5B ; '#'-'['
     5411<x:ref>qdtext-nf</x:ref> = HTAB / SP / "!" / %x23-5B ; '#'-'['
    54135412 / %x5D-7E ; ']'-'~'
    54145413 / obs-text
    54155414<x:ref>query</x:ref> = &lt;query, defined in [RFC3986], Section 3.4&gt;
    5416 <x:ref>quoted-cpair</x:ref> = "\" ( WSP / VCHAR / obs-text )
    5417 <x:ref>quoted-pair</x:ref> = "\" ( WSP / VCHAR / obs-text )
     5415<x:ref>quoted-cpair</x:ref> = "\" ( HTAB / SP / VCHAR / obs-text )
     5416<x:ref>quoted-pair</x:ref> = "\" ( HTAB / SP / VCHAR / obs-text )
    54185417<x:ref>quoted-str-nf</x:ref> = DQUOTE *( qdtext-nf / quoted-pair ) DQUOTE
    54195418<x:ref>quoted-string</x:ref> = DQUOTE *( qdtext / quoted-pair ) DQUOTE
     
    55825581    </t>
    55835582    <t>
    5584       Use names of RFC4234 core rules DQUOTE and WSP,
     5583      Use names of RFC4234 core rules DQUOTE and HTAB,
    55855584      fix broken ABNF for chunk-data
    55865585      (work in progress on <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>)
  • draft-ietf-httpbis/latest/p2-semantics.html

    r1421 r1425  
    736736      </p>
    737737      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    738          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    739          and WSP (whitespace).
     738         (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR
     739         (any visible US-ASCII character).
    740740      </p>
    741741      <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
     
    10361036      </p>
    10371037      <div id="rfc.figure.u.5"></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="#status.code.and.reason.phrase" class="smpl">Status-Code</a>    = 3<a href="#notation" class="smpl">DIGIT</a>
    1038   <a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a>  = *( <a href="#notation" class="smpl">WSP</a> / <a href="#notation" class="smpl">VCHAR</a> / <a href="#core.rules" class="smpl">obs-text</a> )
     1038  <a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a>  = *( <a href="#notation" class="smpl">HTAB</a> / <a href="#notation" class="smpl">SP</a> / <a href="#notation" class="smpl">VCHAR</a> / <a href="#core.rules" class="smpl">obs-text</a> )
    10391039</pre><p id="rfc.section.4.p.4">HTTP status codes are extensible. HTTP applications are not required to understand the meaning of all registered status codes,
    10401040         though such understanding is obviously desirable. However, applications <em class="bcp14">MUST</em> understand the class of any status code, as indicated by the first digit, and treat any unrecognized response as being equivalent
     
    28102810
    28112811<a href="#core.rules" class="smpl">RWS</a> = &lt;RWS, defined in [Part1], Section 1.2.2&gt;
    2812 <a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a> = *( WSP / VCHAR / obs-text )
     2812<a href="#status.code.and.reason.phrase" class="smpl">Reason-Phrase</a> = *( HTAB / SP / VCHAR / obs-text )
    28132813<a href="#header.referer" class="smpl">Referer</a> = absolute-URI / partial-URI
    28142814<a href="#header.retry-after" class="smpl">Retry-After</a> = HTTP-date / delta-seconds
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r1421 r1425  
    320320  <x:anchor-alias value="DIGIT"/>
    321321  <x:anchor-alias value="LF"/>
     322  <x:anchor-alias value="HTAB"/>
    322323  <x:anchor-alias value="VCHAR"/>
    323   <x:anchor-alias value="WSP"/>
     324  <x:anchor-alias value="SP"/>
    324325<t>
    325326  This specification uses the ABNF syntax defined in &notation; (which
     
    333334  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
    334335  DIGIT (decimal 0-9), DQUOTE (double quote),
    335   HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    336   OCTET (any 8-bit sequence of data), SP (space),
    337   VCHAR (any visible USASCII character),
    338   and WSP (whitespace).
     336  HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed),
     337  OCTET (any 8-bit sequence of data), SP (space), and
     338  VCHAR (any visible US-ASCII character).
    339339</t>
    340340
     
    620620<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Status-Code"/><iref primary="true" item="Grammar" subitem="extension-code"/><iref primary="true" item="Grammar" subitem="Reason-Phrase"/>
    621621  <x:ref>Status-Code</x:ref>    = 3<x:ref>DIGIT</x:ref>
    622   <x:ref>Reason-Phrase</x:ref>  = *( <x:ref>WSP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
     622  <x:ref>Reason-Phrase</x:ref>  = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
    623623</artwork></figure>
    624624<t>
     
    23662366</artwork></figure>
    23672367<figure>
    2368 <preamble>Examples are:</preamble><!--DO NOT DARE changing the vertical WSP below, it's necessary this way for xml2rfc-->
     2368<preamble>Examples are:</preamble><!--DO NOT DARE changing the vertical spacing below, it's necessary this way for xml2rfc-->
    23692369<artwork type="example">
    23702370  Location: http://www.example.org/pub/WWW/People.html#tim
     
    36923692
    36933693<x:ref>RWS</x:ref> = &lt;RWS, defined in [Part1], Section 1.2.2&gt;
    3694 <x:ref>Reason-Phrase</x:ref> = *( WSP / VCHAR / obs-text )
     3694<x:ref>Reason-Phrase</x:ref> = *( HTAB / SP / VCHAR / obs-text )
    36953695<x:ref>Referer</x:ref> = absolute-URI / partial-URI
    36963696<x:ref>Retry-After</x:ref> = HTTP-date / delta-seconds
  • draft-ietf-httpbis/latest/p3-payload.html

    r1423 r1425  
    672672      </p>
    673673      <p id="rfc.section.1.3.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    674          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    675          and WSP (whitespace).
     674         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any visible US-ASCII
     675         character).
    676676      </p>
    677677      <h3 id="rfc.section.1.3.1"><a href="#rfc.section.1.3.1">1.3.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
  • draft-ietf-httpbis/latest/p3-payload.xml

    r1423 r1425  
    291291  <x:anchor-alias value="OCTET"/>
    292292  <x:anchor-alias value="VCHAR"/>
    293   <x:anchor-alias value="WSP"/>
    294293<t>
    295294  This specification uses the ABNF syntax defined in &notation; (which
     
    304303  DIGIT (decimal 0-9), DQUOTE (double quote),
    305304  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    306   OCTET (any 8-bit sequence of data), SP (space),
    307   VCHAR (any visible USASCII character),
    308   and WSP (whitespace).
     305  OCTET (any 8-bit sequence of data), SP (space), and
     306  VCHAR (any visible US-ASCII character).
    309307</t>
    310308
  • draft-ietf-httpbis/latest/p4-conditional.html

    r1422 r1425  
    638638      </p>
    639639      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    640          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    641          and WSP (whitespace).
     640         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any visible US-ASCII
     641         character).
    642642      </p>
    643643      <p id="rfc.section.1.2.p.3">The ABNF rules below are defined in <a href="#Part1" id="rfc.xref.Part1.2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>:
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r1415 r1425  
    279279  <x:anchor-alias value="OCTET"/>
    280280  <x:anchor-alias value="VCHAR"/>
    281   <x:anchor-alias value="WSP"/>
    282281  <x:anchor-alias value="core.rules"/>
    283282  <x:anchor-alias value="quoted-string"/>
     
    296295  DIGIT (decimal 0-9), DQUOTE (double quote),
    297296  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    298   OCTET (any 8-bit sequence of data), SP (space),
    299   VCHAR (any visible USASCII character),
    300   and WSP (whitespace).
     297  OCTET (any 8-bit sequence of data), SP (space), and
     298  VCHAR (any visible US-ASCII character).
    301299</t>
    302300<t>
  • draft-ietf-httpbis/latest/p5-range.html

    r1422 r1425  
    639639      </p>
    640640      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    641          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    642          and WSP (whitespace).
     641         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any visible US-ASCII
     642         character).
    643643      </p>
    644644      <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
  • draft-ietf-httpbis/latest/p5-range.xml

    r1415 r1425  
    268268  <x:anchor-alias value="SP"/>
    269269  <x:anchor-alias value="VCHAR"/>
    270   <x:anchor-alias value="WSP"/>
    271270<t>
    272271  This specification uses the ABNF syntax defined in &notation; (which
     
    281280  DIGIT (decimal 0-9), DQUOTE (double quote),
    282281  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    283   OCTET (any 8-bit sequence of data), SP (space),
    284   VCHAR (any visible USASCII character),
    285   and WSP (whitespace).
     282  OCTET (any 8-bit sequence of data), SP (space), and
     283  VCHAR (any visible US-ASCII character).
    286284</t>
    287285
  • draft-ietf-httpbis/latest/p6-cache.html

    r1422 r1425  
    736736      </p>
    737737      <p id="rfc.section.1.4.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    738          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    739          and WSP (whitespace).
     738         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any visible US-ASCII
     739         character).
    740740      </p>
    741741      <h3 id="rfc.section.1.4.1"><a href="#rfc.section.1.4.1">1.4.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
  • draft-ietf-httpbis/latest/p6-cache.xml

    r1419 r1425  
    413413   <x:anchor-alias value="SP"/>
    414414   <x:anchor-alias value="VCHAR"/>
    415    <x:anchor-alias value="WSP"/>
    416415<t>
    417416   This specification uses the ABNF syntax defined in &notation; (which
     
    425424   return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double
    426425   quote), HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit
    427    sequence of data), SP (space), VCHAR (any visible USASCII character), and
    428    WSP (whitespace).
     426   sequence of data), SP (space), and VCHAR (any visible US-ASCII character).
    429427</t>
    430428
  • draft-ietf-httpbis/latest/p7-auth.html

    r1422 r1425  
    625625      </p>
    626626      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
    627          (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
    628          and WSP (whitespace).
     627         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any visible US-ASCII
     628         character).
    629629      </p>
    630630      <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
  • draft-ietf-httpbis/latest/p7-auth.xml

    r1415 r1425  
    255255  <x:anchor-alias value="VCHAR"/>
    256256  <x:anchor-alias value="SP"/>
    257   <x:anchor-alias value="WSP"/>
    258257<t>
    259258  This specification uses the ABNF syntax defined in &notation; (which
     
    268267  DIGIT (decimal 0-9), DQUOTE (double quote),
    269268  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
    270   OCTET (any 8-bit sequence of data), SP (space),
    271   VCHAR (any visible USASCII character),
    272   and WSP (whitespace).
     269  OCTET (any 8-bit sequence of data), SP (space), and
     270  VCHAR (any visible US-ASCII character).
    273271</t>
    274272
Note: See TracChangeset for help on using the changeset viewer.