Sorry for the delay in replying, work sucking up all my free time at the moment.
Is this behaviour when using mod_wsgi embedded mode or daemon mode and what version of mod_wsgi are you using? Graham On 15 July 2011 11:19, bc <[email protected]> wrote: > When adding mod_deflate config to apache, I'm finding that requests > handled by file_wrapper get gzipped, even if they don't match the > filter specification (e.g. images). Here's the config: > > > AddOutputFilterByType DEFLATE text/html text/plain text/css > application/x-javascript > > Requests that are served directly by apache are correct: text is > gzipped, images are not. But requests that hit file_wrapper are always > gzipped, even if they are image/jpeg, or etc. > > The content-type returned to the user agent is correct, so I expect > that I'm setting up the file_wrapper call correctly. Here's an example > response header snip cut & paste from chrome webkit dev tools: > > Content-Encoding:gzip > Content-Length:3080 > Content-Type:image/jpeg > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
