| Index: pkg/http/lib/src/utils.dart
|
| diff --git a/pkg/http/lib/src/utils.dart b/pkg/http/lib/src/utils.dart
|
| index a70e9370058b744f7efc11c221b19d7cd6f7e161..834c86d5e838a5ff44065f4c332272c9f6e0f199 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
|
|
|