help about Content-encoding: gzip and proxy

N

news.hinet.net

If i setup proxy in IE. The web page will not show the the gzip contents.
But if i don't use proxy.The web page is correctly.

=========================================================
print "Content-encoding: gzip\n";
open(STDOUT,"| $gzippath -1 -c");
print STDOUT $htmlstr;
 
B

Brian McCauley

news.hinet.net said:
If i setup proxy in IE. The web page will not show the the gzip contents.
But if i don't use proxy.The web page is correctly.

Ho, this is a Perl newgroup. Here we discuss things related to Perl.
You appear to be talking about a problem with a buggy (unspecified) HTTP
proxy.
 
G

Gregory Toomey

news.hinet.net said:
If i setup proxy in IE. The web page will not show the the gzip contents.
But if i don't use proxy.The web page is correctly.

=========================================================
print "Content-encoding: gzip\n";
open(STDOUT,"| $gzippath -1 -c");
print STDOUT $htmlstr;

I might be barking up the wrong tree, but if you are trying to automatically
gzip compress the http stream, you are way off course.


See
http://httpd.apache.org/docs-2.0/mod/mod_deflate.html
http://gregorytoomey.com/index.php?option=content&task=view&id=2&Itemid=2
(section 2.3)

gtoomey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top