| Index: pkg/http/lib/src/utils.dart
|
| diff --git a/pkg/http/lib/src/utils.dart b/pkg/http/lib/src/utils.dart
|
| index 739a567b18b615a3b6e4af4fa8c8dbe9a13d7270..c0fe9f5d852e8cd2ad637bfe6bd2a79067628772 100644
|
| --- a/pkg/http/lib/src/utils.dart
|
| +++ b/pkg/http/lib/src/utils.dart
|
| @@ -111,7 +111,7 @@ String decodeString(List<int> bytes, Encoding encoding) {
|
| /// Converts [string] into a byte array according to [encoding].
|
| List<int> encodeString(String string, Encoding encoding) {
|
| // TODO(nweiz): implement this once issue 6284 is fixed.
|
| - return string.charCodes;
|
| + return string.codeUnits;
|
| }
|
|
|
| /// A regular expression that matches strings that are composed entirely of
|
|
|