logo       

Re: cvs: pear /Net_URL URL.php: msg#00645

php.cvs.pear

Subject: Re: cvs: pear /Net_URL URL.php

Sorry about that. Do you have a problem with the patches? I also need to fix HTTP_Request to send ports in the host header per below.
Shane

--- Request.php 26 Sep 2002 12:18:27 -0000 1.16
+++ Request.php 29 Sep 2002 01:16:14 -0000
@@ -189,7 +189,8 @@

// Host header
if (HTTP_REQUEST_HTTP_VER_1_1 == $this->_http) {
- $this->addHeader('Host', $this->_url->host);
+ $host = $this->_url->host.($this->_url->port != 80?':'.$this->_url->port:'');
+ $this->addHeader('Host', $host);

if (extension_loaded('zlib')) {
$this->addHeader('Accept-Encoding', 'gzip');



--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise