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

Unified Diff: Source/modules/fetch/FetchHeaderList.cpp

Issue 1288263003: Normalize and update the header value checks to RFC 7230 for Fetch Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
Index: Source/modules/fetch/FetchHeaderList.cpp
diff --git a/Source/modules/fetch/FetchHeaderList.cpp b/Source/modules/fetch/FetchHeaderList.cpp
index a03e9f3e3d39d1b679f12d5ba463588338253050..8c258a89f03d9ae2722a24bad46f0f2617f77bb0 100644
--- a/Source/modules/fetch/FetchHeaderList.cpp
+++ b/Source/modules/fetch/FetchHeaderList.cpp
@@ -155,5 +155,9 @@ bool FetchHeaderList::isValidHeaderValue(const String& value)
// and contains no 0x0A or 0x0D bytes."
return isValidHTTPHeaderValue(value);
}
yhirano 2015/09/09 04:41:50 +newline
shiva.jm 2015/09/10 10:10:26 Done.
+bool FetchHeaderList::isValidFieldContentRFC7230(const String& value)
+{
+ return isValidHTTPFieldContentRFC7230(value);
+}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698