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

Unified Diff: runtime/bin/http.dart

Issue 10913096: Minor code cleanup (Closed) Base URL: http://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
===================================================================
--- runtime/bin/http.dart (revision 11874)
+++ runtime/bin/http.dart (working copy)
@@ -182,46 +182,46 @@
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