diff --git a/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch b/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch @@ -0,0 +1,16 @@ +http://pear.php.net/bugs/bug.php?id=12116 +Index: PEAR/REST.php +=================================================================== +RCS file: /repository/pear-core/PEAR/REST.php,v +retrieving revision 1.22 +diff -u -r1.22 REST.php +--- PEAR/REST.php 10 Jun 2007 04:16:51 -0000 1.22 ++++ PEAR/REST.php 25 Sep 2007 18:40:13 -0000 +@@ -335,6 +335,7 @@ + if ($accept) { + $request .= 'Accept: ' . implode(', ', $accept) . "\r\n"; + } ++ $request .= "Accept-Encoding:\r\n"; + $request .= "Connection: close\r\n"; + $request .= "\r\n"; + if ($proxy_host != '') {