TSYS-Merchant / stumps

Apache License 2.0
3 stars 3 forks source link

Responses are being incorrectly compressed when returned from a Stump. #22

Closed mwmharrington closed 10 years ago

mwmharrington commented 10 years ago

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.