mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-28 05:14:24 +00:00
* Added NIOHTTPRequestCompressor to compress requests Also moved common code from request and response compressor into separate NIOHTTPCompression enum. * Updates after comments from @weissi Also reinstated public enum HTTPResponseCompressor.CompressionError * algorithms are now let not var * Catch situation where head is flushed before anything else comes through Content-encoding was not being set Added additional tests for header values * Added documentation around 5 bytes added to buffer size and add them * Renaming NIOHTTPCompressionSetting to NIOCompression Also NIOHTTPCompressionSetting.CompressionAlgorithm is NIOCompression.Algorithm NIOHTTPCompressionSetting.CompressionError is NIOCompression.Error Algorithm now conforms to Equatable * Forgot to run generate_linux_tests * Fix typos