ID: 33949 Updated by: [EMAIL PROTECTED] Reported By: martin dot bundgaard at gmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
Don't exchange Content-Location and Location: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 Previous Comments: ------------------------------------------------------------------------ [2005-08-01 18:16:22] martin dot bundgaard at gmail dot com Description: ------------ The page http://php.net/header of the documentation states: "HTTP/1.1 requires an absolute URI as argument to Location: including the scheme, hostname and absolute path, but some clients accept relative URIs." This is incorrect. According to the HTTP/1.1 specification (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14), according to which, relative URIs _are_ acceptable and work the way you would (probably) expect them to: "If the Content-Location is a relative URI, the relative URI is interpreted relative to the Request-URI." Sincerely, Martin Bundgaard ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33949&edit=1