Subject: | Fwd: C::P::Compress::Gzip goes wrong |
Date: | Thu, 18 Feb 2010 23:38:37 -0300 |
To: | bug-Catalyst-Plugin-Compress-Zlib <bug-Catalyst-Plugin-Compress-Zlib [...] rt.cpan.org> |
From: | Edmund von der Burg <evdb [...] ecclestoad.co.uk> |
Hello,
The attached diff fixes a problem where C::P::Compress::Gzip does the
compression and sets up the headers before the error content is
produced. It simply skips compressing if there are errors.
Another solution might be to run the compression at a different stage
but there are other problems with that....
Thanks for the module - works great for me otherwise.
Cheers,
Edmund.
--
Who will you vote for? http://www.YourNextMP.com
--
Who will you vote for? http://www.YourNextMP.com
Message body is not shown because sender requested not to inline it.