Ignore:
Timestamp:
Mar 29, 2011, 5:30:21 AM (9 years ago)
Author:
julian.reschke@…
Message:

rewrite header field ABNFs to only specify the field value (see #276)

File:
1 edited

Legend:

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

    r1180 r1230  
    467467  <iref primary="true" item="Header Fields" subitem="Authorization" x:for-anchor=""/>
    468468  <x:anchor-alias value="Authorization"/>
    469   <x:anchor-alias value="Authorization-v"/>
    470469<t>
    471470   The "Authorization" header field allows a user agent to authenticate
     
    475474   requested.
    476475</t>
    477 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Authorization"/><iref primary="true" item="Grammar" subitem="Authorization-v"/>
    478   <x:ref>Authorization</x:ref>   = "Authorization" ":" <x:ref>OWS</x:ref> <x:ref>Authorization-v</x:ref>
    479   <x:ref>Authorization-v</x:ref> = <x:ref>credentials</x:ref>
     476<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Authorization"/>
     477  <x:ref>Authorization</x:ref> = <x:ref>credentials</x:ref>
    480478</artwork></figure>
    481479<t>
     
    522520  <iref primary="true" item="Header Fields" subitem="Proxy-Authenticate" x:for-anchor=""/>
    523521  <x:anchor-alias value="Proxy-Authenticate"/>
    524   <x:anchor-alias value="Proxy-Authenticate-v"/>
    525522<t>
    526523   The "Proxy-Authenticate" header field consists of a challenge that
     
    529526   of a 407 (Proxy Authentication Required) response.
    530527</t>
    531 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authenticate"/><iref primary="true" item="Grammar" subitem="Proxy-Authenticate-v"/>
    532   <x:ref>Proxy-Authenticate</x:ref>   = "Proxy-Authenticate" ":" <x:ref>OWS</x:ref>
    533                          <x:ref>Proxy-Authenticate-v</x:ref>
    534   <x:ref>Proxy-Authenticate-v</x:ref> = 1#<x:ref>challenge</x:ref>
     528<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authenticate"/>
     529  <x:ref>Proxy-Authenticate</x:ref> = 1#<x:ref>challenge</x:ref>
    535530</artwork></figure>
    536531<t>
     
    548543  <iref primary="true" item="Header Fields" subitem="Proxy-Authorization" x:for-anchor=""/>
    549544  <x:anchor-alias value="Proxy-Authorization"/>
    550   <x:anchor-alias value="Proxy-Authorization-v"/>
    551545<t>
    552546   The "Proxy-Authorization" header field allows the client to
     
    556550   agent for the proxy and/or realm of the resource being requested.
    557551</t>
    558 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authorization"/><iref primary="true" item="Grammar" subitem="Proxy-Authorization-v"/>
    559   <x:ref>Proxy-Authorization</x:ref>   = "Proxy-Authorization" ":" <x:ref>OWS</x:ref>
    560                           <x:ref>Proxy-Authorization-v</x:ref>
    561   <x:ref>Proxy-Authorization-v</x:ref> = <x:ref>credentials</x:ref>
     552<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authorization"/>
     553  <x:ref>Proxy-Authorization</x:ref> = <x:ref>credentials</x:ref>
    562554</artwork></figure>
    563555<t>
     
    577569  <iref primary="true" item="Header Fields" subitem="WWW-Authenticate" x:for-anchor=""/>
    578570  <x:anchor-alias value="WWW-Authenticate"/>
    579   <x:anchor-alias value="WWW-Authenticate-v"/>
    580571<t>
    581572   The "WWW-Authenticate" header field consists of at least one
     
    584575   (Unauthorized) response messages.
    585576</t>
    586 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="WWW-Authenticate"/><iref primary="true" item="Grammar" subitem="WWW-Authenticate-v"/>
    587   <x:ref>WWW-Authenticate</x:ref>   = "WWW-Authenticate" ":" <x:ref>OWS</x:ref> <x:ref>WWW-Authenticate-v</x:ref>
    588   <x:ref>WWW-Authenticate-v</x:ref> = 1#<x:ref>challenge</x:ref>
     577<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="WWW-Authenticate"/>
     578  <x:ref>WWW-Authenticate</x:ref> = 1#<x:ref>challenge</x:ref>
    589579</artwork></figure>
    590580<t>
     
    983973</references>
    984974
    985 <!-- re-add this once we have changes
    986975<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
    987 </section>
    988  -->
     976<t>
     977  Change ABNF productions for header fields to only define the field value.
     978  (<xref target="header.fields"/>)
     979</t>
     980</section>
    989981 
    990982<?BEGININC p7-auth.abnf-appendix ?>
     
    992984<figure>
    993985<artwork type="abnf" name="p7-auth.parsed-abnf">
    994 <x:ref>Authorization</x:ref> = "Authorization:" OWS Authorization-v
    995 <x:ref>Authorization-v</x:ref> = credentials
     986<x:ref>Authorization</x:ref> = credentials
    996987
    997988<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
    998989
    999 <x:ref>Proxy-Authenticate</x:ref> = "Proxy-Authenticate:" OWS Proxy-Authenticate-v
    1000 <x:ref>Proxy-Authenticate-v</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS
     990<x:ref>Proxy-Authenticate</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS
    1001991 challenge ] )
    1002 <x:ref>Proxy-Authorization</x:ref> = "Proxy-Authorization:" OWS
    1003  Proxy-Authorization-v
    1004 <x:ref>Proxy-Authorization-v</x:ref> = credentials
    1005 
    1006 <x:ref>WWW-Authenticate</x:ref> = "WWW-Authenticate:" OWS WWW-Authenticate-v
    1007 <x:ref>WWW-Authenticate-v</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS
    1008  challenge ] )
     992<x:ref>Proxy-Authorization</x:ref> = credentials
     993
     994<x:ref>WWW-Authenticate</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS challenge
     995 ] )
    1009996
    1010997<x:ref>auth-param</x:ref> = token "=" ( token / quoted-string )
     
    11971184<section title="Since draft-ietf-httpbis-p7-auth-13" anchor="changes.since.13">
    11981185<t>
    1199   None yet.
     1186  Closed issues:
     1187  <list style="symbols">
     1188    <t>
     1189      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
     1190      "untangle ABNFs for header fields"
     1191    </t>
     1192  </list>
    12001193</t>
    12011194</section>
Note: See TracChangeset for help on using the changeset viewer.