File tree 1 file changed +3
-3
lines changed
Tests/AsyncHTTPClientTests
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ internal final class HTTPBin<RequestHandler: ChannelInboundHandler> where
364
364
try self . syncAddHTTPProxyHandlers (
365
365
to: channel,
366
366
connectionID: connectionID,
367
- expectedAuthroization : expectedAuthorization
367
+ expectedAuthorization : expectedAuthorization
368
368
)
369
369
return channel. eventLoop. makeSucceededVoidFuture ( )
370
370
}
@@ -392,14 +392,14 @@ internal final class HTTPBin<RequestHandler: ChannelInboundHandler> where
392
392
private func syncAddHTTPProxyHandlers(
393
393
to channel: Channel ,
394
394
connectionID: Int ,
395
- expectedAuthroization : String ?
395
+ expectedAuthorization : String ?
396
396
) throws {
397
397
let sync = channel. pipeline. syncOperations
398
398
let promise = channel. eventLoop. makePromise ( of: Void . self)
399
399
400
400
let responseEncoder = HTTPResponseEncoder ( )
401
401
let requestDecoder = ByteToMessageHandler ( HTTPRequestDecoder ( leftOverBytesStrategy: . forwardBytes) )
402
- let proxySimulator = HTTPProxySimulator ( promise: promise, expectedAuhorization: expectedAuthroization )
402
+ let proxySimulator = HTTPProxySimulator ( promise: promise, expectedAuhorization: expectedAuthorization )
403
403
404
404
try sync. addHandler ( responseEncoder)
405
405
try sync. addHandler ( requestDecoder)
You can’t perform that action at this time.
0 commit comments