Ignore:
Timestamp:
21/12/13 00:17:31 (7 years ago)
Author:
fielding@…
Message:

(editorial) Remove unnecessary or duplicate ABNF that can be replaced with core rules: word, specials, attribute, value, and quoted-cpair; addresses #541

File:
1 edited

Legend:

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

    r2509 r2519  
    6464absolute-form = absolute-URI
    6565absolute-path = 1*( "/" segment )
    66 accept-ext = OWS ";" OWS token [ "=" word ]
     66accept-ext = OWS ";" OWS token [ "=" ( token / quoted-string ) ]
    6767accept-params = weight *accept-ext
    6868acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS range-unit ] ) ) / "none"
    6969asctime-date = day-name SP date3 SP time-of-day SP year
    7070asterisk-form = "*"
    71 attribute = token
    7271auth-param = token BWS "=" BWS ( token / quoted-string )
    7372auth-scheme = token
     
    9291chunked-body = *chunk last-chunk trailer-part CRLF
    9392codings = content-coding / "identity" / "*"
    94 comment = "(" *( ctext / quoted-cpair / comment ) ")"
     93comment = "(" *( ctext / quoted-pair / comment ) ")"
    9594complete-length = 1*DIGIT
    9695connection-option = token
     
    169168other-range-unit = token
    170169other-ranges-specifier = other-range-unit "=" other-range-set
    171 parameter = attribute "=" value
     170parameter = token "=" ( token / quoted-string )
    172171partial-URI = relative-part [ "?" query ]
    173172path-abempty = <path-abempty, defined in [RFC3986], Section 3.3>
     
    184183 / obs-text
    185184query = <query, defined in [RFC3986], Section 3.4>
    186 quoted-cpair = "\" ( HTAB / SP / VCHAR / obs-text )
    187185quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
    188186quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
     
    199197second = 2DIGIT
    200198segment = <segment, defined in [RFC3986], Section 3.3>
    201 special = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\" / DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}"
    202199start-line = request-line / status-line
    203200status-code = 3DIGIT
     
    215212transfer-coding = "chunked" / "compress" / "deflate" / "gzip" / transfer-extension
    216213transfer-extension = token *( OWS ";" OWS transfer-parameter )
    217 transfer-parameter = attribute BWS "=" BWS value
     214transfer-parameter = token BWS "=" BWS ( token / quoted-string )
    218215type = token
    219216unsatisfied-range = "*/" complete-length
    220217uri-host = <host, defined in [RFC3986], Section 3.2.2>
    221 value = word
    222218warn-agent = ( uri-host [ ":" port ] ) / pseudonym
    223219warn-code = 3DIGIT
     
    228224
    229225weight = OWS ";" OWS "q=" qvalue
    230 word = token / quoted-string
    231226year = 4DIGIT
    232227; Accept defined but not used
     
    280275; http-URI defined but not used
    281276; https-URI defined but not used
    282 ; special defined but not used
Note: See TracChangeset for help on using the changeset viewer.