RE: [PEAR] [ANNOUNCEMENT] HTTP_Request-1.0.2 (stable) Released.
| From: | phpsurf | Date: | Wed, 18 Sep 2002 09:35:47 +0000 |
| Subject: | RE: [PEAR] [ANNOUNCEMENT] HTTP_Request-1.0.2 (stable) Released. | ||
| References: | 1 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-9145@lists.php.net to get a copy of this message | ||
that's exactly what I did, but the body of the response seems not to be
reconized by gzuncompress()
on the online manual there are already several comments about that
http://www.php.net/manual/en/function.gzencode.php
other developers complain about the missing function gzdecode() !
some explain that over HTTP, some gzip headers (inside compressed data) are
quite different that when in a file.
I tried their ideas, but it didn't seem to work ...
> -----Original Message-----
> From: Martin Tsachev [mailto:shaggy@vip.bg]
> Sent: mardi 17 septembre 2002 19:00
> To: phpsurf; PEAR general list; pear-dev@lists.php.net
> Subject: Re: [PEAR] [ANNOUNCEMENT] HTTP_Request-1.0.2 (stable) Released.
>
>
> On Tue September 17 2002 12:42 pm, phpsurf wrote:
> > Hi
> >
> > would anyone have any idea on how to add gzip support to the
> > HTTP_Request class ?
> > I tried to have a look on it, but didn't find how to ungzip a
> > string with PHP !
>
> Check if the Transfer-Encoding header has gzip in it and use PHP's
> gzuncompress.
>
> The header Accept-Encoding: gzip should be added to the request.
>
> There are also matching functions for deflate.
> >
> > > -----Original Message-----
> > > From: PEAR Announce [mailto:pear-dev@lists.php.net]
> > > Sent: lundi 16 septembre 2002 20:19
> > > To: PEAR general list
> > > Subject: [PEAR] [ANNOUNCEMENT] HTTP_Request-1.0.2 (stable)
> > > Released.
> > >
> > >
> > > The new PEAR package HTTP_Request-1.0.2 (stable) has been
> > > released at http://pear.php.net/.
> > >
> > > Release notes
> > > -------------
> > > Added cookie support
> > >
> > > Package Info
> > > -------------
> > > Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication,
> > > Proxy, Proxy Authentication etc.
> > >
> > > Related Links
> > > -------------
> > > Package home:
> > >
> > > http://pear.php.net/package-info.php?package=HTTP_Request
> > > Changelog:
> > >
> > > http://pear.php.net/package-changelog.php?package=HTTP_Request
> > > Download:
> > > http://pear.php.net/get/HTTP_Request-1.0.2.tgz
> > >
> > > Authors
> > > -------------
> > > Richard Heyes <richard@phpguru.org> (lead)
> > >
> > >
> > > --
> > > PEAR General Mailing List (http://pear.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > ________________________________________________________________
> > Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92
> > euros d'économies ! Et pour 1 euro de plus, reçois le CD-ROM du jeu
> > Dark Age of Camelot + 1 mois de jeu en réseau offert !
> > Clique ici : http://www.ifrance.com/_reloc/mail.etudiant
>
> --
> Martin Tsachev
> http://martin.f2o.org
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies !
Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en réseau offert !
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant