Re: Fw: Small bug in HTTP_Request Class

From: Date: Wed, 22 Oct 2003 12:00:00 +0000
Subject: Re: Fw: Small bug in HTTP_Request Class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22903@lists.php.net to get a copy of this message
Hi! Thanks, fixed. This worked differently in current version but there was a problem nonetheless. BTW, Richard, have you received my mail concerning HTTP_Request, sent on 2003-10-13? Richard Heyes wrote:
----- Original Message ----- From: "rin" <rin@starlink.ru> To: <richard@phpguru.org> Sent: Friday, October 17, 2003 1:53 PM Subject: Small bug in HTTP_Request Class
Hi! Small bug in HTTP_Request Class ($Id: Request.php,v 1.22 2003/01/30 14:23:13 richard Exp $) if choose HTTP_REQUEST_METHOD_HEAD and response gzip supported (Content- Encoding: gzip) then Warning: gzinflate(): buffer error in c:\usr\local\pear\HTTP\Request.php
on
line 799 valid code of part:
       // If response was compressed using gzip, uncompress it
       if (@$this->_headers['content-encoding'] == 'gzip' &&
$this->_body)
{
           $this->_body = gzinflate(substr($this->_body, 10));
       }
-- Rinat, Russia


« previous php.pear.dev (#22903) next »