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

Unified Diff: pkg/http/test/utils.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
Index: pkg/http/test/utils.dart
diff --git a/pkg/http/test/utils.dart b/pkg/http/test/utils.dart
index 786bb84a8121d53f34561bd9cd563467228ae038..c2ce9c449723dc70b45c0991a9ea16c5775e41e6 100644
--- a/pkg/http/test/utils.dart
+++ b/pkg/http/test/utils.dart
@@ -59,7 +59,7 @@ Future startServer() {
new ByteStream(request).toBytes().then((requestBodyBytes) {
var outputEncoding;
- var encodingName = request.queryParameters['response-encoding'];
+ var encodingName = request.uri.queryParameters['response-encoding'];
if (encodingName != null) {
outputEncoding = requiredEncodingForCharset(encodingName);
} else {

Powered by Google App Engine
This is Rietveld 408576698