Zlib::Deflate.deflate problem

A

Aaron Smith

Hey all,

I'm using Zlib::Deflate.deflate to deflate a response from an HTTP
request to return back to the browser. The requests accept gzip,deflate
but when I return the deflated data the browser is not handling it
correctly..

any ideas where to look to debug?

thanks
Aaron
 
A

Aaron Smith

Aaron said:
Hey all,

I'm using Zlib::Deflate.deflate to deflate a response from an HTTP
request to return back to the browser. The requests accept gzip,deflate
but when I return the deflated data the browser is not handling it
correctly..

any ideas where to look to debug?

thanks
Aaron

little more info.. I'm using WebRick, LightTPD, and Mongrel..

I was looking at mongrel source and see that I was missing the
Content-Encoding. But not sure where to set that for each server..
 

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,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top