![]() ### Goals ⚽ For large request bodies it may be beneficial to compress the outgoing data. This PR adds support for the `deflate` compression encoding as a `RequestInterceptor`. ### Implementation Details 🚧 `DeflateRequestCompressor` manually compresses body data using `NSData.compressed` while adding the header bytes and adler32 checksum from zlib manually. ### Testing Details 🔍 Firewalk has been updated to support compressed requests, so tests have been added to exercise that. Additionally, simple unit tests have been added to confirm our deflate and adler32 implementations are correct. |
||
---|---|---|
.. | ||
iOS Example.xcscheme |