Sending gzipped data in WebRequest?

后端 未结 5 609
暖寄归人
暖寄归人 2020-12-09 17:17

I have a large amount of data (~100k) that my C# app is sending to my Apache server with mod_gzip installed. I\'m attempting to gzip the data first using System.IO.Compressi

5条回答
  •  春和景丽
    2020-12-09 18:09

    I looked at the source code for mod_gzip and I could not find any code that decompresses data. Apparently mod_gzip only compresses outgoing data which isn't too surprising after all. The functionality you are looking for is probably rarely used, and I'm afraid you have to do your own decompression on the server.

提交回复
热议问题