* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #6 (closed design: fixed)

Opened 8 years ago

Last modified 8 years ago

Fragments allowed in Location

Reported by: mnot@pobox.com Owned by:
Priority: Milestone: 01
Component: p2-semantics Severity:
Keywords: Cc:
Origin: http://lists.w3.org/Archives/Public/ietf-http-wg-old/1999MayAug/0103.html


In the description of the Location header [section 14.30], the ABNF for the Location header is given as:

    Location       = "Location" ":" absoluteURI

This and the accompanying text are incorrect because the definition of 'absoluteURI', given in RFC 2396 does not include fragment identifiers. The correct syntax for the Location header is:

    Location       = "Location" ":" absoluteURI [ "#" fragment ]

There are circumstances in which a fragment identifier in a Location URL would not be appropriate:

  • With a 201 Created response, because in this usage the Location header specifies the URL for the entire created resource.
  • With a 300 Multiple Choices, since the choice decision is intended to be made on resource characteristics and not fragment characteristics.
  • With 305 Use Proxy.

At present, the behavior in the case where there was a fragment with the original URI, e.g.: http://host1.example.com/resource1#fragment1 where /resource1 redirects to http://host2.example.com/resource2#fragment2 is 'fragment1' discarded? Do you find fragment2 and then find fragment1 within it? We don't have fragment combination rules.

Change History

comment:1 Changed 8 years ago by fielding@gbiv.com

  • Status changed from new to closed
  • version set to 00
  • Resolution set to fixed
  • Milestone set to 01

Fixed in [73]

comment:2 Changed 8 years ago by mnot@pobox.com

  • version changed from 00 to d00

comment:3 Changed 8 years ago by julian.reschke@gmx.de

  • Component set to auth

comment:4 Changed 8 years ago by julian.reschke@gmx.de

  • Component changed from auth to semantics

comment:5 Changed 8 years ago by julian.reschke@gmx.de

  • Origin set to http://lists.w3.org/Archives/Public/ietf-http-wg-old/1999MayAug/0103.html
Note: See TracTickets for help on using tickets.