摘要:
/// <summary>/// 能支持双向GZIP压缩的Module,它会根据客户端是否启用GZIP来自动处理。/// 对于服务来说,不用关心GZIP处理,服务只要处理输入输出就可以了。/// </summary>internal class DuplexGzipModule : IHttpModule{ public void Init(HttpApplication app) { app.BeginRequest += new EventHandler(app_BeginRequest); } void app_BeginRequest(object... 阅读全文