Merge pull request #991 from Miiha/bugfix/url-request-mapping
Adds missing body to URLRequest mapping.
This commit is contained in:
commit
d2520ca80b
|
@ -63,6 +63,7 @@ extension URLRequest {
|
||||||
"url": url?.absoluteString,
|
"url": url?.absoluteString,
|
||||||
"method": httpMethod,
|
"method": httpMethod,
|
||||||
"headers": allHTTPHeaderFields,
|
"headers": allHTTPHeaderFields,
|
||||||
|
"body": httpBody.map(FlutterStandardTypedData.init(bytes:)),
|
||||||
"iosAllowsCellularAccess": allowsCellularAccess,
|
"iosAllowsCellularAccess": allowsCellularAccess,
|
||||||
"iosAllowsConstrainedNetworkAccess": iosAllowsConstrainedNetworkAccess,
|
"iosAllowsConstrainedNetworkAccess": iosAllowsConstrainedNetworkAccess,
|
||||||
"iosAllowsExpensiveNetworkAccess": iosAllowsExpensiveNetworkAccess,
|
"iosAllowsExpensiveNetworkAccess": iosAllowsExpensiveNetworkAccess,
|
||||||
|
|
Loading…
Reference in New Issue