diff --git a/Sources/Storage/StorageApi.swift b/Sources/Storage/StorageApi.swift index 5ce825db..89ceb308 100644 --- a/Sources/Storage/StorageApi.swift +++ b/Sources/Storage/StorageApi.swift @@ -31,7 +31,7 @@ public class StorageApi: @unchecked Sendable { @discardableResult func execute(_ request: HTTPRequest) async throws -> HTTPResponse { var request = request - request.headers.merge(with: HTTPHeaders(configuration.headers)) + request.headers = HTTPHeaders(configuration.headers).merged(with: request.headers) let response = try await http.send(request)