cvs: php-src /ext/standard url.c
| From: | Andrei Zmievski | Date: | Thu, 30 Nov 2006 22:26:27 +0000 |
| Subject: | cvs: php-src /ext/standard url.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41805@lists.php.net to get a copy of this message | ||
andrei Thu Nov 30 22:26:27 2006 UTC
Modified files:
/php-src/ext/standard url.c
Log:
get_headers() will keep headers as binary strings.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url.c?r1=1.102&r2=1.103&diff_format=u
Index: php-src/ext/standard/url.c
diff -u php-src/ext/standard/url.c:1.102 php-src/ext/standard/url.c:1.103
--- php-src/ext/standard/url.c:1.102 Thu Oct 26 17:59:53 2006
+++ php-src/ext/standard/url.c Thu Nov 30 22:26:27 2006
@@ -15,7 +15,7 @@
| Author: Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: url.c,v 1.102 2006/10/26 17:59:53 andrei Exp $ */
+/* $Id: url.c,v 1.103 2006/11/30 22:26:27 andrei Exp $ */
#include <stdlib.h>
#include <string.h>
@@ -653,7 +653,7 @@
}
/* }}} */
-/* {{{ proto array get_headers(string url[, int format])
+/* {{{ proto array get_headers(string url[, int format]) U
fetches all the headers sent by the server in response to a HTTP request */
PHP_FUNCTION(get_headers)
{