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

Unified Diff: sdk/lib/io/http.dart

Issue 177843002: Don't set serverHeader by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « no previous file | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index 6ba35c767ba2aa794e6d9b918133e68d6437830d..cfa7250d96df7802777f4fa4ac6e7f7222c3dee5 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -84,8 +84,7 @@ abstract class HttpStatus {
abstract class HttpServer implements Stream<HttpRequest> {
/**
* Set and get the default value of the `Server` header for all responses
- * generated by this [HttpServer]. The default value is
- * `Dart/<version> (dart:io)`.
+ * generated by this [HttpServer]. By default, it's disabled.
*
* If the serverHeader is set to `null`, no default `Server` header will be
* added to each response.
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698