mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Configure this pipeline properly
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user