Ignore:
Timestamp:
Jul 27, 2009, 9:15:58 AM (10 years ago)
Author:
julian.reschke@…
Message:

Resolve #191: use "URI" in definition of Location header, also fix prose so that includes by definition the optional fragment (closes #191)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r629 r632  
    342342  <x:anchor-alias value="Authorization"/>
    343343  <x:anchor-alias value="ETag"/>
    344   <x:anchor-alias value="fragment"/>
    345344  <x:anchor-alias value="Host"/>
    346345  <x:anchor-alias value="HTTP-date"/>
     
    356355  <x:anchor-alias value="Range"/>
    357356  <x:anchor-alias value="TE"/>
     357  <x:anchor-alias value="URI"/>
    358358  <x:anchor-alias value="Vary"/>
    359359  <x:anchor-alias value="WWW-Authenticate"/>
     
    363363<figure><!--Part1--><artwork type="abnf2616">
    364364  <x:ref>absolute-URI</x:ref>  = &lt;absolute-URI, defined in &uri;&gt;
    365   <x:ref>fragment</x:ref>      = &lt;fragment, defined in &uri;&gt;
    366365  <x:ref>Host</x:ref>          = &lt;Host, defined in &uri;&gt;
    367366  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt;
     
    369368  <x:ref>product</x:ref>       = &lt;product, defined in &product-tokens;&gt;
    370369  <x:ref>TE</x:ref>            = &lt;TE, defined in &header-te;&gt;
     370  <x:ref>URI</x:ref>           = &lt;URI, defined in &uri;&gt;
    371371</artwork></figure>
    372372<figure><!--Part3--><artwork type="abnf2616">
     
    19801980   by the request. For 3xx responses, the location &SHOULD; indicate the
    19811981   server's preferred URI for automatic redirection to the resource. The
    1982    field value consists of a single absolute URI.
     1982   field value consists of a single URI.
    19831983</t>
    19841984<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Location"/><iref primary="true" item="Grammar" subitem="Location-v"/>
    19851985  <x:ref>Location</x:ref>       = "Location" ":" <x:ref>OWS</x:ref> <x:ref>Location-v</x:ref>
    1986   <x:ref>Location-v</x:ref>     = <x:ref>absolute-URI</x:ref> [ "#" <x:ref>fragment</x:ref> ]
     1986  <x:ref>Location-v</x:ref>     = <x:ref>URI</x:ref>
    19871987</artwork></figure>
    19881988<t>
     
    32793279
    32803280<x:ref>Location</x:ref> = "Location:" OWS Location-v
    3281 <x:ref>Location-v</x:ref> = absolute-URI [ "#" fragment ]
     3281<x:ref>Location-v</x:ref> = URI
    32823282
    32833283<x:ref>Max-Forwards</x:ref> = "Max-Forwards:" OWS Max-Forwards-v
     
    33193319<x:ref>TE</x:ref> = &lt;TE, defined in [Part1], Section 8.8&gt;
    33203320
     3321<x:ref>URI</x:ref> = &lt;URI, defined in [Part1], Section 2.3&gt;
    33213322<x:ref>User-Agent</x:ref> = "User-Agent:" OWS User-Agent-v
    33223323<x:ref>User-Agent-v</x:ref> = product *( RWS ( product / comment ) )
     
    33393340<x:ref>extension-code</x:ref> = 3DIGIT
    33403341<x:ref>extension-method</x:ref> = token
    3341 
    3342 <x:ref>fragment</x:ref> = &lt;fragment, defined in [Part1], Section 2.3&gt;
    33433342
    33443343<x:ref>mailbox</x:ref> = &lt;mailbox, defined in [RFC5322], Section 3.4&gt;
     
    36263625      "update note about redirect limit"
    36273626    </t>
     3627    <t>
     3628      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/191"/>:
     3629      "Location header ABNF should use 'URI'"
     3630    </t>
    36283631  </list>
    36293632</t>
Note: See TracChangeset for help on using the changeset viewer.