On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:

> On Fri, October 27, 2006 4:53 pm, Børge Holen wrote:
>> On Friday 27 October 2006 19:34, Richard Lynch wrote:
>>> And the header("Location: ...") requires a full URL.
>>
>> No it doesn't. but he's missing an ' at first glance
> 
> Yes, it does:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
> 
> Note the use of 'absolute' within that section.

Although I always use a full URL as well, doesn't absolute just mean
non-relative? As in:
Location: /Protocols/rfc2616/rfc2616-sec14.html#sec14.30
(absolute URI)

Location: ./rfc2616-sec14.html#sec14.30
(relative URI)


> You can argue that they shouldn't have designed the spec that way.
> 
> You can argue that it "works" in all popular browsers.
> 
> But there ain't much to argue about what the spec says...

Agreed. One should always follow the spec.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to