Closed olofa closed 12 years ago
I'm using php 5.3.2 and pyrus 2.0.0a3.
I did:
pyrus set http_proxy fqdn:port
I run tcpdump on the http proxy server and this is what I get when trying to install a package:
GET /rest/p/pear2_net_transmitter/info.xml HTTP/1.0 Host: pear2.php.net User-Agent: PEAR2_Pyrus/2.0.0a3/PHP/5.3.2 Accept:
Our squid3 proxy doesn't accept that. It wants to have it like this:
GET http://pear2.php.net/rest/p/pear2_net_transmitter/info.xml HTTP/1.0 Host: pear2.php.net User-Agent: PEAR2_Pyrus/2.0.0a3/PHP/5.3.2 Accept:
I believe this is a bug in pyrus.
This is not a bug with the pear2 website. I would file a bug with Pyrus or HTTP_Request.
I'm using php 5.3.2 and pyrus 2.0.0a3.
I did:
pyrus set http_proxy fqdn:port
I run tcpdump on the http proxy server and this is what I get when trying to install a package:
GET /rest/p/pear2_net_transmitter/info.xml HTTP/1.0 Host: pear2.php.net User-Agent: PEAR2_Pyrus/2.0.0a3/PHP/5.3.2 Accept:
Our squid3 proxy doesn't accept that. It wants to have it like this:
GET http://pear2.php.net/rest/p/pear2_net_transmitter/info.xml HTTP/1.0 Host: pear2.php.net User-Agent: PEAR2_Pyrus/2.0.0a3/PHP/5.3.2 Accept:
I believe this is a bug in pyrus.