| Index: pkg/http/lib/src/request.dart
|
| diff --git a/pkg/http/lib/src/request.dart b/pkg/http/lib/src/request.dart
|
| index 8aacbe387877d372c04d3625b90f3ff37c1d21fc..f247f009fd5bb0d93b093d92928808431c3eafef 100644
|
| --- a/pkg/http/lib/src/request.dart
|
| +++ b/pkg/http/lib/src/request.dart
|
| @@ -121,7 +121,7 @@ class Request extends BaseRequest {
|
| 'content-type "application/x-www-form-urlencoded".');
|
| }
|
|
|
| - return queryToMap(body);
|
| + return queryToMap(body, encoding: encoding);
|
| }
|
|
|
| set bodyFields(Map<String, String> fields) {
|
| @@ -132,7 +132,7 @@ class Request extends BaseRequest {
|
| 'content-type "${_contentType.value}".');
|
| }
|
|
|
| - this.body = mapToQuery(fields);
|
| + this.body = mapToQuery(fields, encoding: encoding);
|
| }
|
|
|
| /// Creates a new HTTP request.
|
|
|