| Index: pkg/http/lib/src/base_client.dart
|
| diff --git a/pkg/http/lib/src/base_client.dart b/pkg/http/lib/src/base_client.dart
|
| index 7eb972fd2a0c8fd392398244785d91b38a92262d..cda7b0d3fbba01099552980d4849f53c1791a2f7 100644
|
| --- a/pkg/http/lib/src/base_client.dart
|
| +++ b/pkg/http/lib/src/base_client.dart
|
| @@ -110,7 +110,7 @@ abstract class BaseClient implements Client {
|
| // Wrap everything in a Future block so that synchronous validation errors
|
| // are passed asynchronously through the Future chain.
|
| return async.then((_) {
|
| - if (url is String) url = new Uri.fromString(url);
|
| + if (url is String) url = Uri.parse(url);
|
| var request = new Request(method, url);
|
|
|
| if (headers != null) mapAddAll(request.headers, headers);
|
|
|