public static void AddCompressionHeaders(this HttpResponse response)
 {
     CompressionSupport compressionSupport = response.GetCompressionSupport();
     response.AddCompressionHeaders(compressionSupport);
 }
 public static void AddCompressionHeaders(this HttpContext context)
 {
     CompressionSupport compressionSupport = context.GetCompressionSupport();
     context.AddCompressionHeaders(compressionSupport);
 }
 public static void AddCompressionHeaders(this HttpResponse response, string contentType)
 {
     response.ContentType = contentType;
     response.AddCompressionHeaders();
 }
 public static void AddCompressionHeaders(this HttpContext context, string contentType)
 {
     context.Response.ContentType = contentType;
     context.AddCompressionHeaders();
 }