When a content encoding of "GZip" or "Deflate" is detected, the body was is being incorrectly compressed.
This is because the underlying DeflateStream and GZipStream require the streams to be closed when compressing before the underlying output is fully populated.
When a content encoding of "GZip" or "Deflate" is detected, the body was is being incorrectly compressed.
This is because the underlying DeflateStream and GZipStream require the streams to be closed when compressing before the underlying output is fully populated.