| Index: pkg/http/lib/src/utils.dart
|
| diff --git a/pkg/http/lib/src/utils.dart b/pkg/http/lib/src/utils.dart
|
| index e75cbd58dcbb8ac333958ea213ae1bd319bbc140..9f22351643331e52cb32cbb8145cecc820d8fa47 100644
|
| --- a/pkg/http/lib/src/utils.dart
|
| +++ b/pkg/http/lib/src/utils.dart
|
| @@ -114,7 +114,7 @@ List<int> encodeString(String string, Encoding encoding) {
|
|
|
| /// A regular expression that matches strings that are composed entirely of
|
| /// ASCII-compatible characters.
|
| -final RegExp _ASCII_ONLY = new RegExp(r"^[\x00-\x7F]+$");
|
| +final RegExp _ASCII_ONLY = const RegExp(r"^[\x00-\x7F]+$");
|
|
|
| /// Returns whether [string] is composed entirely of ASCII-compatible
|
| /// characters.
|
|
|