We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f931b8 commit 627a8d8Copy full SHA for 627a8d8
Sources/ComposableArchitecturePattern/Server.swift
@@ -404,8 +404,11 @@ public extension Server {
404
guard let additionalHeaders else {
405
return self.additionalHTTPHeaders
406
}
407
+ guard var additionalHTTPHeaders else {
408
+ return additionalHeaders
409
+ }
410
- return self.additionalHTTPHeaders?.merging(additionalHeaders, uniquingKeysWith: { $1 })
411
+ return additionalHTTPHeaders.merging(additionalHeaders, uniquingKeysWith: { $1 })
412
413
414
0 commit comments