Skip to content

Commit 4e47efe

Browse files
committed
Adds missing body to URLRequest mapping.
1 parent f06bcdf commit 4e47efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/Classes/Types/URLRequest.swift

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ extension URLRequest {
6363
"url": url?.absoluteString,
6464
"method": httpMethod,
6565
"headers": allHTTPHeaderFields,
66+
"body": httpBody.map(FlutterStandardTypedData.init(bytes:)),
6667
"iosAllowsCellularAccess": allowsCellularAccess,
6768
"iosAllowsConstrainedNetworkAccess": iosAllowsConstrainedNetworkAccess,
6869
"iosAllowsExpensiveNetworkAccess": iosAllowsExpensiveNetworkAccess,

0 commit comments

Comments
 (0)