Skip to content

Commit 9fd56c1

Browse files
committed
removing unneeded change to URLSessionTransport init
1 parent 5617c4d commit 9fd56c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/OpenAPIURLSession/URLSessionTransport.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ public struct URLSessionTransport: ClientTransport {
114114

115115
/// Creates a new URLSession-based transport.
116116
/// - Parameter configuration: A set of configuration values used by the transport.
117-
public init(configuration: Configuration = .init(httpBodyProcessingMode: .platformDefault)) {
118-
self.configuration = configuration
119-
}
117+
public init(configuration: Configuration = .init()) { self.configuration = configuration }
120118

121119
/// Sends the underlying HTTP request and returns the received HTTP response.
122120
/// - Parameters:

0 commit comments

Comments
 (0)