PEAR REST interface: pear installer does not set header property 'Accept-Encoding'.
| From: | Jean-Lou Dupont | Date: | Tue, 25 Sep 2007 15:41:14 +0000 |
| Subject: | PEAR REST interface: pear installer does not set header property 'Accept-Encoding'. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27983@lists.php.net to get a copy of this message | ||
Hi,
I am currently trying to setup a PEAR repository on GoogleCode Hosting. I have come a long way but I had to patch PEAR/REST.php for setting the 'Accept-Encoding: ' header property because, by default:
" If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content coding." ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14 )
Can this be fixed in the PEAR installer?
Many thanks,
Jean-Lou Dupont.