summaryrefslogtreecommitdiff
blob: 0ced6bcef34026a91cf7b61f0d9964e7b73280a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 != '') {