tagged [gzip]
WebAPI Gzip when returning HttpResponseMessage
WebAPI Gzip when returning HttpResponseMessage I have a WebAPI controller that returns an `HttpResponseMessage` and I want to add gzip compression. This is the server code: ``` using System.Net.Http; ...
- Modified
- 28 Jul at 23:50
compression and decompression of string data in java
compression and decompression of string data in java I am using the following code to compress and decompress string data, but the problem which I am facing is, it is easily getting compressed without...
How to compress http request on the fly and without loading compressed buffer in memory
How to compress http request on the fly and without loading compressed buffer in memory I need to send voluminous data in a http post request to a server supporting gziped encoded requests. Starting f...
- Modified
- 21 May at 15:25
How Decompress Gzipped Http Get Response in c#
How Decompress Gzipped Http Get Response in c# Want to Decompress a Response which is GZipped Getting from an API.Tried the Below Code ,It Always return Like:- My code is: ``` private string GetRespon...
- Modified
- 2 Feb at 09:28
Decompressing GZip Stream from HTTPClient Response
Decompressing GZip Stream from HTTPClient Response I am trying to connect to an api, that returns GZip encoded JSON, from a WCF service (WCF service to WCF service). I am using the to connect to the A...
HttpClient: Conditionally set AcceptEncoding compression at runtime
HttpClient: Conditionally set AcceptEncoding compression at runtime We are trying to implement user-determined (on a settings screen) optional gzip compression in our client which uses `HttpClient`, s...
- Modified
- 26 Feb at 23:36
force encoding off for one service?
force encoding off for one service? I am trying to implement an RSS feed that is linked through an Outlook client. The feed works on every machine except my development machine. When looking at the re...
- Modified
- 21 Jun at 21:16
Compress file to bytes for uploading to SQL Server
Compress file to bytes for uploading to SQL Server I am trying to zip files to an SQL Server database table. I can't ensure that the user of the tool has write priveledges on the source file folder so...
MVC 4 - GZIP compression of JSON ajax action result
MVC 4 - GZIP compression of JSON ajax action result ## The problem I have a Telerik MVC UI grid on an MVC 4 app running on IIS 7.5 that can potentially return a large amount of JSON data via AJAX, in ...
- Modified
- 23 May at 10:31
ServiceStack - Using gzip/deflate compression with JSONP requests
ServiceStack - Using gzip/deflate compression with JSONP requests I have a ServiceStack service that compresses the response using `RequestContext.ToOptimizedResult()`, e.g.: This
- Modified
- 5 Nov at 00:0
Web API Gzip not being applied
Web API Gzip not being applied I have added the web.config entry to enable gzip compression based on this S/O answer [Enable IIS7 gzip](https://stackoverflow.com/questions/702124/enable-iis7-gzip). I ...
- Modified
- 23 May at 11:53
Why does my C# gzip produce a larger file than Fiddler or PHP?
Why does my C# gzip produce a larger file than Fiddler or PHP? If I GZip this text: > Hello World through C# using this code: ``` Stream stream = new MemoryStream(Encoding.Default.GetBytes("Hello Worl...
- Modified
- 10 Mar at 21:22