l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Mar 24 23:25

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Perl Net::HTTP Content-encoding/gzip support broken...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Perl Net::HTTP Content-encoding/gzip support broken...

Hi all,

  Trying to use Net::HTTP to pull compressed web content but it appears
to be broken.

  The documentation talks about this module using Compress::Zlib, if it's 
installed, to enable gzip and deflate mode transfers and with them installed 
I see 'TE: deflate, gzip' added to the request headers, but it appears 
apache mod_gzip is looking for 'Contect-encoding:'.  When I taught the 
net module how to request this the right way the data stream is returned
to the user code still compressed...

- Know of any perl HTTP modules that really handles compressed content?

  I see receive code trying to do complex-ish data handling of the 
stream, something about 'Chunked' data mode being required for the code
to work... I would need to understand this stuff a little better to
replace it.

- Know of good documentation source detailing 'Contect-encoding' 
  data flow over HTTP?

    Thanks a bunch,
      Mike Simons
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.