logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [ANNOUNCEMENT] HTTP_Request-1.0.2 (stable) Released.: msg#00105

Subject: Re: [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@xxxxxxxxxxxxx]
> > 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@xxxxxxxxxxx> (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





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>