Ignore:
Timestamp:
Nov 25, 2011, 7:53:44 AM (8 years ago)
Author:
julian.reschke@…
Message:

realm: move quoted-string requirement into prose and add a note that in practice recipients may have to support both (see #314)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p7-auth.xml

    r1477 r1478  
    430430<t>
    431431   The authentication parameter realm is reserved for use by authentication
    432    schemes that wish to indicate the scope of protection:
    433 </t>
    434 <figure><artwork type="abnf2616"><iref item="realm" primary="true"/><iref item="realm-value" primary="true"/><iref primary="true" item="Grammar" subitem="realm"/>
    435   realm       = "realm" <x:ref>BWS</x:ref> "=" <x:ref>BWS</x:ref> realm-value
    436   realm-value = quoted-string
    437 </artwork></figure>
     432   schemes that wish to indicate the scope of protection.
     433</t>
    438434<t>
    439435   A <x:dfn>protection space</x:dfn> is defined by the canonical root URI (the
     
    457453   otherwise defined by the authentication scheme, a single protection
    458454   space cannot extend outside the scope of its server.
     455</t>
     456<t>
     457   For historical reasons, senders &MUST; only use the quoted-string syntax.
     458   Recipients might have to support both token and quoted-string syntax for
     459   maximum interoperability with existing clients that have been accepting both
     460   notations for a long time.
    459461</t>
    460462</section>
     
    12091211<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.3&gt;
    12101212
    1211 realm = "realm" BWS "=" BWS realm-value
    1212 realm-value = quoted-string
    1213 
    12141213<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.3&gt;
    12151214</artwork>
     
    12201219; Proxy-Authorization defined but not used
    12211220; WWW-Authenticate defined but not used
    1222 ; realm defined but not used
    12231221</artwork></figure></section>
    12241222<?ENDINC p7-auth.abnf-appendix ?>
     
    14581456  <list style="symbols">
    14591457    <t>
     1458      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/314"/>:
     1459      "allow unquoted realm parameters"
     1460    </t>
     1461    <t>
    14601462      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/321"/>:
    14611463      "Repeating auth-params"
Note: See TracChangeset for help on using the changeset viewer.