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

Unified Diff: pkg/shelf/example/example_server.dart

Issue 227563010: pkg/shelf: case-insensitive headers, cleaner Request ctor, a lot more tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixing dependent code, changelog Created 6 years, 8 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
« no previous file with comments | « pkg/shelf/README.md ('k') | pkg/shelf/lib/shelf_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/shelf/example/example_server.dart
diff --git a/pkg/shelf/example/example_server.dart b/pkg/shelf/example/example_server.dart
index 781fb0c177b00b69de7e2026ca024b968a0e441d..49fda9eb4eb82301d177ee38dc07c53dc218faad 100644
--- a/pkg/shelf/example/example_server.dart
+++ b/pkg/shelf/example/example_server.dart
@@ -15,5 +15,5 @@ void main() {
}
shelf.Response _echoRequest(shelf.Request request) {
- return new shelf.Response.ok('Request for "${request.pathInfo}"');
+ return new shelf.Response.ok('Request for "${request.url}"');
}
« no previous file with comments | « pkg/shelf/README.md ('k') | pkg/shelf/lib/shelf_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698