Posted by John Dunlop on 11/10/07 16:38
Darko:
> [Big Moxy:]
>
> > AFIK the absolute URL is not mandatory because most web servers
> > support its absence.
Most web servers supporting relative URLs is not a reason for not
using absolute URLs.
> You're probably right, but HTTP specification says:
>
> > The field value consists of a single absolute URI.
>
> > Location = "Location" ":" absoluteURI
>
> > An example is:
>
> > Location:http://www.w3.org/pub/WWW/People.html
(What a poor example URL.)
Which means that, you are right, an absolute URL is required.
The rule that defines the Location header was fixed to include
fragment identifiers, so in practice the rule is:
Location = "Location" ":" absoluteURI [ "#" fragment ]
--
Jock
[Back to original message]
|