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

Unified Diff: net/http/http_util.cc

Issue 10365012: Update net::HttpUtil::IsSafeHeader() with two new headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 7 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 | « chrome/test/data/extensions/api_test/downloads/test.js ('k') | net/http/http_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util.cc
diff --git a/net/http/http_util.cc b/net/http/http_util.cc
index 4096ac85c78305d0463e3a81b5c6f174a5aff41b..a5dc3911ffc2832358e31515d907601ea95ddb1d 100644
--- a/net/http/http_util.cc
+++ b/net/http/http_util.cc
@@ -316,6 +316,8 @@ namespace {
const char* const kForbiddenHeaderFields[] = {
"accept-charset",
"accept-encoding",
+ "access-control-request-headers",
+ "access-control-request-method",
"connection",
"content-length",
"cookie",
« no previous file with comments | « chrome/test/data/extensions/api_test/downloads/test.js ('k') | net/http/http_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698