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 7e0ebe2 commit 4793010Copy full SHA for 4793010
Sources/AsyncHTTPClient/FoundationExtensions.swift
@@ -70,7 +70,7 @@ extension HTTPClientResponse {
70
/// Response body as `Data`.
71
public var data: Data? {
72
get async throws {
73
- var bytes = try await self.bytes
+ var bytes = try await self.bytes()
74
return bytes.readData(length: bytes.readableBytes)
75
}
76
0 commit comments