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

Unified Diff: lib/src/utils.dart

Issue 1790503005: Provide and respect HTTP cache headers in pub serve. (Closed) Base URL: https://github.com/dart-lang/pub.git@master
Patch Set: Revise! Created 4 years, 9 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 | « lib/src/command/serve.dart ('k') | test/serve/caches_unchanged_assets.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 99b567ae6ff02d4bfa73048d437bf19b108d90b2..a1e848156506c4872331fdba328ff56e7e6e934a 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -521,7 +521,7 @@ Future<Stream> validateStream(Stream stream) {
// Otherwise, the error came first and the stream is invalid.
completer.completeError(error, stackTrace);
- // We don't be returning the stream at all in this case, so unsubscribe
+ // We won't be returning the stream at all in this case, so unsubscribe
// and swallow the error.
subscription.cancel();
}, onDone: () {
« no previous file with comments | « lib/src/command/serve.dart ('k') | test/serve/caches_unchanged_assets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698