Ignore:
Timestamp:
Aug 9, 2011, 4:19:37 AM (8 years ago)
Author:
julian.reschke@…
Message:

fix ABNF to be compatible with Basic by introducing 'b64token', but recommend against it for new schemes due to poor extensibility story (#see 195)

File:
1 edited

Legend:

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

    r1386 r1394  
    7878auth-scheme = token
    7979authority = <authority, defined in [RFC3986], Section 3.2>
     80b64token = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" ) *"="
    8081byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" ( instance-length / "*" )
    8182byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*"
     
    8889cache-request-directive = "no-cache" / "no-store" / ( "max-age=" delta-seconds ) / ( "max-stale" [ "=" delta-seconds ] ) / ( "min-fresh=" delta-seconds ) / "no-transform" / "only-if-cached" / cache-extension
    8990cache-response-directive = "public" / ( "private" [ "=" DQUOTE *( "," OWS ) field-name *( OWS "," [ OWS field-name ] ) DQUOTE ] ) / ( "no-cache" [ "=" DQUOTE *( "," OWS ) field-name *( OWS "," [ OWS field-name ] ) DQUOTE ] ) / "no-store" / "no-transform" / "must-revalidate" / "proxy-revalidate" / ( "max-age=" delta-seconds ) / ( "s-maxage=" delta-seconds ) / cache-extension
    90 challenge = auth-scheme 1*SP [ ( "," / auth-param ) *( OWS "," [ OWS auth-param ] ) ]
     91challenge = auth-scheme [ 1*SP ( b64token / [ ( "," / auth-param ) *( OWS "," [ OWS auth-param ] ) ] ) ]
    9192charset = token
    9293chunk = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
     
    101102content-coding = token
    102103content-range-spec = byte-content-range-spec / other-content-range-spec
    103 credentials = auth-scheme 1*SP ( token / quoted-string / [ ( "," / auth-param ) *( OWS "," [ OWS auth-param ] ) ] )
     104credentials = auth-scheme [ 1*SP ( b64token / [ ( "," / auth-param ) *( OWS "," [ OWS auth-param ] ) ] ) ]
    104105ctext = OWS / %x21-27 ; '!'-'''
    105106 / %x2A-5B ; '*'-'['
Note: See TracChangeset for help on using the changeset viewer.