Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1672)

Unified Diff: tests/standalone/io/http_keep_alive_test.dart

Issue 15688013: Remove the HttpRequest.queryParameters getter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« pkg/oauth2/lib/oauth2.dart ('K') | « sdk/lib/io/http_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_keep_alive_test.dart
diff --git a/tests/standalone/io/http_keep_alive_test.dart b/tests/standalone/io/http_keep_alive_test.dart
index b2d821a681e6ac934c46650c3a81a32fd3b9d135..3e5d1989500ccd60574800f23ae99bad51572386 100644
--- a/tests/standalone/io/http_keep_alive_test.dart
+++ b/tests/standalone/io/http_keep_alive_test.dart
@@ -25,8 +25,8 @@ Future getData(HttpClient client, int port, bool chunked, int length) {
Future<HttpServer> startServer() {
return HttpServer.bind("127.0.0.1", 0).then((server) {
server.listen((request) {
- bool chunked = request.queryParameters["chunked"] == "true";
- int length = int.parse(request.queryParameters["length"]);
+ bool chunked = request.uri.queryParameters["chunked"] == "true";
+ int length = int.parse(request.uri.queryParameters["length"]);
var buffer = new List<int>.filled(length, 0);
if (!chunked) request.response.contentLength = length;
request.response.add(buffer);
« pkg/oauth2/lib/oauth2.dart ('K') | « sdk/lib/io/http_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698