1
0
mirror of https://github.com/apple/swift-nio-extras.git synced 2025-06-01 10:36:15 +08:00
Artem Redkin 863c6b55c6 add http client decompressor ()
### Motivation:
Many HTTP servers can send compressed responses to clients and it would be a great feature for `AsyncHTTPClient` to support it. But since we want to minizime usage of unsafe APIs in SSWG projects, I propose to consolidate interfacing with zlib to `nio-extras` since it already supports `zlib` compression.

### Modifications:
Added `HTTPResponseDecompressor` and accompanying tests

### Result:
Users (primarily `AsyncHTTPClient`) can now provide automatic response decompression support.
2019-10-02 15:39:46 +01:00
..