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

Unified Diff: runtime/bin/http.dart

Issue 10911120: Cleanup and fixes to some dart:io files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | runtime/bin/http_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http.dart
diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart
index f6736bfcf73c2d906c32087994abf3f9c484ec81..3dd0a8dce06bfa8af70ed6e6205f0b2c9d356a81 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -182,46 +182,46 @@ interface HttpHeaders default _HttpHeaders {
WARNING];
static const ENTITY_HEADERS = const [ALLOW,
- CONTENT-ENCODING,
- CONTENT-LANGUAGE,
- CONTENT-LENGTH,
- CONTENT-LOCATION,
- CONTENT-MD5,
- CONTENT-RANGE,
- CONTENT-TYPE,
+ CONTENT_ENCODING,
+ CONTENT_LANGUAGE,
+ CONTENT_LENGTH,
+ CONTENT_LOCATION,
+ CONTENT_MD5,
+ CONTENT_RANGE,
+ CONTENT_TYPE,
EXPIRES,
- LAST-MODIFIED];
+ LAST_MODIFIED];
- static const RESPONSE_HEADERS = const [ACCEPT-RANGES,
+ static const RESPONSE_HEADERS = const [ACCEPT_RANGES,
AGE,
ETAG,
LOCATION,
- PROXY-AUTHENTICATE,
- RETRY-AFTER,
+ PROXY_AUTHENTICATE,
+ RETRY_AFTER,
SERVER,
VARY,
- WWW-AUTHENTICATE];
+ WWW_AUTHENTICATE];
static const REQUEST_HEADERS = const [ACCEPT,
- ACCEPT-CHARSET,
- ACCEPT-ENCODING,
- ACCEPT-LANGUAGE,
+ ACCEPT_CHARSET,
+ ACCEPT_ENCODING,
+ ACCEPT_LANGUAGE,
AUTHORIZATION,
EXPECT,
FROM,
HOST,
- IF-MATCH,
- IF-MODIFIED-SINCE,
- IF-NONE-MATCH,
- IF-RANGE,
- IF-UNMODIFIED-SINCE,
- MAX-FORWARDS,
- PROXY-AUTHORIZATION,
+ IF_MATCH,
+ IF_MODIFIED_SINCE,
+ IF_NONE_MATCH,
+ IF_RANGE,
+ IF_UNMODIFIED_SINCE,
+ MAX_FORWARDS,
+ PROXY_AUTHORIZATION,
RANGE,
REFERER,
TE,
- USER-AGENT];
+ USER_AGENT];
/**
* Returns the list of values for the header named [name]. If there
« no previous file with comments | « no previous file | runtime/bin/http_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698