Chromium Code Reviews| Index: sdk/lib/io/http_body_impl.dart |
| diff --git a/sdk/lib/io/http_body_impl.dart b/sdk/lib/io/http_body_impl.dart |
| index 900dff51e9304d8349993e36a0972c2b38ad8584..95726c70af23afb171bc859d872d64704c896e21 100644 |
| --- a/sdk/lib/io/http_body_impl.dart |
| +++ b/sdk/lib/io/http_body_impl.dart |
| @@ -120,8 +120,8 @@ class _HttpBodyHandler { |
| case "x-www-form-urlencoded": |
| return asText(Encoding.ASCII) |
| .then((body) { |
| - var map = _HttpUtils.splitQueryString( |
| - body.body, encoding: defaultEncoding); |
| + var map = Uri.splitQueryString(body.body, |
|
Lasse Reichstein Nielsen
2013/07/04 14:56:33
contentType doesn't have a "CharSet"?
Anders Johnsen
2013/07/05 09:51:28
No, even though people would like to have it. That
|
| + decodeString: (s) => _decodeString(s, defaultEncoding)); |
| var result = {}; |
| for (var key in map.keys) { |
| result[key] = map[key]; |