Re: Sitemesh + GZip filter

Joe Walnes <[email protected]> Wed, 10 Aug 2005 17:31:48 +0100
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
Strange. It all looks fine. Do the content-lengths match the size of
the gzipped data that's returned?

-Joe

On 8/10/05, Guillaume Boudreau <[email protected]> wrote:
> From MSIE 6.0 SP1:
> 
> GET / HTTP/1.1
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
> Accept-Language: en-us
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
> Host: 192.168.1.59
> Connection: Keep-Alive
> 
> HTTP/1.1 200 OK
> Date: Wed, 10 Aug 2005 15:48:32 GMT
> Server: Orion/2.0.5
> Content-Length: 1695
> Set-Cookie: JSESSIONID=EMMACBKDPJEG; Path=/; secure
> Cache-Control: private
> Connection: Keep-Alive
> Keep-Alive: timeout=15, max=100
> Content-Type: text/html
> Content-Encoding: gzip
> 
> .............w............Y[o.H.~.R.......6.K.....n.
> M.....
> ......w<.....=..a.m .EK..e...\......%..W.W......8.^..?~...#M7.?.}.<....M.V7..'
> [and so on]
> 
> From Mozilla:
> 
> GET / HTTP/1.1
> Host: 192.168.1.59
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> 
> HTTP/1.1 200 OK
> Date: Wed, 10 Aug 2005 15:49:36 GMT
> Server: Orion/2.0.5
> Content-Length: 1695
> Set-Cookie: JSESSIONID=PINNIBKDPJEG; Path=/; secure
> Cache-Control: private
> Connection: Keep-Alive
> Keep-Alive: timeout=15, max=100
> Content-Type: text/html
> Content-Encoding: gzip
> 
> .............w............Y[o.H.~.R.......6.K.....n.
> M.....
> ......w<.....=..a.m .EK..e...\......%..W.W......8.^..?~...#M7.?.}.<....M.V7..'
> [and so on]
> 
> Here's a working GZiped request (I commented out the sitemesh filter mapping from my web.xml); this shows correctly (but non-decorated obviously) :
> 
> GET / HTTP/1.1
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
> Accept-Language: en-us
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
> Host: 192.168.1.59
> Connection: Keep-Alive
> 
> HTTP/1.1 200 OK
> Date: Wed, 10 Aug 2005 15:59:59 GMT
> Server: Orion/2.0.5
> Content-Length: 647
> Connection: Keep-Alive
> Keep-Alive: timeout=15, max=100
> Content-Type: text/html
> Content-Encoding: gzip
> 
> ...........U.n.0.='@.aJ.Ur..,]`.:.=.)P....P"-..HbH.....d.N- I.J...y........Y.....S.....'y~.+...o..t...B.u_.%
> ...
> [and so on]
> 
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa?threadID=5287&messageID=12599#12599
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]