HttpCompress Module and SharpZipLib
Yesterday I was trying to use the compression module blowery.web with the last version of SharpZipLib (0.83.1.0) and the error ‘Invalid uses of response filter’ took place if configured compresion module with gzip algorithm. After some debug i found that SharpZipLib lasted version writes the headers of the algorithm gzip in the constructor of the class GZipOutputStream and version 0.6.0.0 write headers when invoke GZipOutputStream.Write method. I modified a little the class GZipFilter of the compression module to adapt it to the behavior of the version 0.83.1.0, and to avoid fails. Here is the code.