Ignore:
Timestamp:
19/08/12 09:46:53 (8 years ago)
Author:
fielding@…
Message:

clean up TE, move qvalues to p2, and make its usage consistent for accept(-*)

File:
1 edited

Legend:

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

    r1815 r1831  
    44
    55Accept = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [ OWS ( media-range [ accept-params ] ) ] ) ]
    6 Accept-Charset = *( "," OWS ) ( ( charset / "*" ) [ OWS ";" OWS "q=" qvalue ] ) *( OWS "," [ OWS ( ( charset / "*" ) [ OWS ";" OWS "q=" qvalue ] ) ] )
    7 Accept-Encoding = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] ) ) *( OWS "," [ OWS ( codings [ OWS ";" OWS "q=" qvalue ] ) ] ) ]
    8 Accept-Language = *( "," OWS ) ( language-range [ OWS ";" OWS "q=" qvalue ] ) *( OWS "," [ OWS ( language-range [ OWS ";" OWS "q=" qvalue ] ) ] )
     6Accept-Charset = *( "," OWS ) ( ( charset / "*" ) [ weight ] ) *( OWS "," [ OWS ( ( charset / "*" ) [ weight ] ) ] )
     7Accept-Encoding = [ ( "," / ( codings [ weight ] ) ) *( OWS "," [ OWS ( codings [ weight ] ) ] ) ]
     8Accept-Language = *( "," OWS ) ( language-range [ weight ] ) *( OWS "," [ OWS ( language-range [ weight ] ) ] )
    99Accept-Ranges = acceptable-ranges
    1010Age = delta-seconds
     
    6464absolute-form = absolute-URI
    6565accept-ext = OWS ";" OWS token [ "=" word ]
    66 accept-params = OWS ";" OWS "q=" qvalue *accept-ext
     66accept-params = weight *accept-ext
    6767acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS range-unit ] ) ) / "none"
    6868asctime-date = day-name SP date3 SP time-of-day SP year
     
    194194qvalue = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )
    195195range-unit = bytes-unit / other-range-unit
     196rank = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )
    196197reason-phrase = *( HTAB / SP / VCHAR / obs-text )
    197198received-by = ( uri-host [ ":" port ] ) / pseudonym
     
    210211suffix-byte-range-spec = "-" suffix-length
    211212suffix-length = 1*DIGIT
    212 t-codings = "trailers" / ( transfer-extension [ te-params ] )
     213t-codings = "trailers" / ( transfer-coding [ t-ranking ] )
     214t-ranking = OWS ";" OWS "q=" rank
    213215tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
    214 te-ext = OWS ";" OWS token [ "=" word ]
    215 te-params = OWS ";" OWS "q=" qvalue *te-ext
    216216time-of-day = hour ":" minute ":" second
    217217token = 1*tchar
     
    231231weak = %x57.2F ; W/
    232232
     233weight = OWS ";" OWS "q=" qvalue
    233234word = token / quoted-string
    234235year = 4DIGIT
Note: See TracChangeset for help on using the changeset viewer.