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

Unified Diff: Source/core/fetch/FetchUtils.h

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/core/fetch/FetchUtils.h
diff --git a/Source/core/fetch/FetchUtils.h b/Source/core/fetch/FetchUtils.h
index 6c6f5083d0a717b63b64e2fa774a4e7429bbdebf..c2ff2e4cb4232146e469fe166830bdce8aeb1a35 100644
--- a/Source/core/fetch/FetchUtils.h
+++ b/Source/core/fetch/FetchUtils.h
@@ -25,6 +25,7 @@ public:
static bool isForbiddenResponseHeaderName(const String& name);
static bool isSimpleOrForbiddenRequest(const String& method, const HTTPHeaderMap&);
static AtomicString normalizeMethod(const AtomicString& method);
+ static String normalizeHeaderValue(const String& value);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698