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 9cfafdb commit b40c34aCopy full SHA for b40c34a
Sources/Storage/StorageApi.swift
@@ -31,7 +31,7 @@ public class StorageApi: @unchecked Sendable {
31
@discardableResult
32
func execute(_ request: HTTPRequest) async throws -> HTTPResponse {
33
var request = request
34
- request.headers.merge(with: HTTPHeaders(configuration.headers))
+ request.headers = HTTPHeaders(configuration.headers).merged(with: request.headers)
35
36
let response = try await http.send(request)
37
0 commit comments