Plack::Middleware::NoDeflate - Prevent content from being deflated
Plack::Middleware::NoDeflate is middleware which prevents content from being deflated before being served. It sets HTTP_ACCEPT_ENCODING to a blank value, which means that HTML and text will not be deflated by servers and applications which respect this environment variable.
Plack::Middleware::Debug does not work with deflated content. In many cases, you'll be able to fix this by disabling any deflation in the development process, but that's not always the case. Further, if you're trying to mangle the response body of a proxied URL with your own middleware, you'll find yourself with the same problem.
One way to deal with this would be to re-inflate the deflated content yourself. Another, simpler way, is simply to prevent the content from being deflated in the first place, which is what this module does.
Olaf Alders <firstname.lastname@example.org>
This software is copyright (c) 2010 by Olaf Alders.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.