| Index: pkg/http/lib/src/request.dart
|
| diff --git a/pkg/http/lib/src/request.dart b/pkg/http/lib/src/request.dart
|
| index 20da3c1292cb5c9e45c00b571414a59cbbef7267..2520b2a6298feb5bd20b5eb6b57c7ead44940efa 100644
|
| --- a/pkg/http/lib/src/request.dart
|
| +++ b/pkg/http/lib/src/request.dart
|
| @@ -154,7 +154,7 @@ class Request extends BaseRequest {
|
| ContentType get _contentType {
|
| var contentType = headers[HttpHeaders.CONTENT_TYPE];
|
| if (contentType == null) return null;
|
| - return new ContentType.fromString(contentType);
|
| + return ContentType.parse(contentType);
|
| }
|
|
|
| set _contentType(ContentType value) {
|
|
|