svn: /phpdoc/en/trunk/reference/network/functions/ header.xml

From: Date: Sat, 15 Aug 2015 11:42:38 +0000
Subject: svn: /phpdoc/en/trunk/reference/network/functions/ header.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13589@lists.php.net to get a copy of this message
cmb Sat, 15 Aug 2015 11:42:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337474 Log: fixed note about Location header and absolute/relative URIs wrt. RFC 7231 Changed paths: U phpdoc/en/trunk/reference/network/functions/header.xml Modified: phpdoc/en/trunk/reference/network/functions/header.xml =================================================================== --- phpdoc/en/trunk/reference/network/functions/header.xml 2015-08-15 11:30:59 UTC (rev 337473) +++ phpdoc/en/trunk/reference/network/functions/header.xml 2015-08-15 11:42:38 UTC (rev 337474) @@ -274,10 +274,10 @@ </note> <note> <para> - HTTP/1.1 requires an absolute <acronym>URI</acronym> as argument to - <link xlink:href="&spec.http1.1;#section-7.1.2">Location:</link> - including the scheme, hostname and absolute path, but - some clients accept relative URIs. You can usually use + Most contemporary clients accept relative <acronym>URI</acronym>s as argument to + <link xlink:href="&spec.http1.1;#section-7.1.2">Location:</link>, + but some older clients require an absolute URI + including the scheme, hostname and absolute path. You can usually use <varname>$_SERVER['HTTP_HOST']</varname>, <varname>$_SERVER['PHP_SELF']</varname> and <function>dirname</function> to make an absolute URI from a

« previous php.doc.cvs (#13589) next »