Merge pull request #991 from Miiha/bugfix/url-request-mapping

Adds missing body to URLRequest mapping.
This commit is contained in:
Lorenzo Pichilli 2022-04-16 00:00:01 +02:00 committed by GitHub
commit d2520ca80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ extension URLRequest {
"url": url?.absoluteString,
"method": httpMethod,
"headers": allHTTPHeaderFields,
"body": httpBody.map(FlutterStandardTypedData.init(bytes:)),
"iosAllowsCellularAccess": allowsCellularAccess,
"iosAllowsConstrainedNetworkAccess": iosAllowsConstrainedNetworkAccess,
"iosAllowsExpensiveNetworkAccess": iosAllowsExpensiveNetworkAccess,