Configure this pipeline properly

This commit is contained in:
Cory Benfield committed 2017-12-15 12:29:28 +00:00
1 parent 76482816e6
commit 0fa0224623
1 file changed
+1 -2
@@ -134,8 +134,7 @@ class HTTPResponseCompressorTest: XCTestCase {
private func clientParsingChannel() -> EmbeddedChannel {
let channel = EmbeddedChannel()
try! channel.pipeline.add(handler: HTTPRequestEncoder()).wait()
try! channel.pipeline.add(handler: HTTPResponseDecoder()).wait()
try! channel.pipeline.addHTTPClientHandlers().wait()
return channel
}