|
RE: cvs: pear /Net_URL URL.php: msg#00652php.cvs.pear
> Sorry about that. Do you have a problem with the patches? I can't seem to reproduce any error with the URL you supplied before the patch is applied. > I > also need > to fix HTTP_Request to send ports in the host header per below. > Shane Ok I'll add this in., thanks. > --- 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'); -- Richard Heyes V-webmail - http://www.v-webmail.co.uk -- 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> |
|---|---|---|
| Previous by Date: | cvs: pear /XML_Transformer Transformer.php /XML_Transformer/Transformer CallbackRegistry.php Namespace.php Util.php /XML_Transformer/Transformer/Driver Cache.php OutputBuffer.php /XML_Transformer/Transformer/Namespace Anchor.php DocBook.php Image.php PHP.php Widget.php: 00652, Sebastian Bergmann |
|---|---|
| Next by Date: | Re: cvs: pear /XML_Transformer/Transformer/Namespace DocBook.php: 00652, Martin Jansen |
| Previous by Thread: | Re: cvs: pear /Net_URL URL.phpi: 00652, Shane Caraveo |
| Next by Thread: | Re: cvs: pear /Net_URL URL.php: 00652, Shane Caraveo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |