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

Unified Diff: Source/platform/network/HTTPParsers.h

Issue 1018903002: Show deprecation warnings for header values in XHR according to RFC 7230 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/platform/network/HTTPParsers.h
diff --git a/Source/platform/network/HTTPParsers.h b/Source/platform/network/HTTPParsers.h
index 8746065d4a98cf6417ad8b7998ea6d0fc7b017ce..67423b9b8052431e37e278f70423ee0de285cd35 100644
--- a/Source/platform/network/HTTPParsers.h
+++ b/Source/platform/network/HTTPParsers.h
@@ -92,6 +92,7 @@ struct CacheControlHeader {
PLATFORM_EXPORT ContentDispositionType contentDispositionType(const String&);
PLATFORM_EXPORT bool isValidHTTPHeaderValue(const String&);
+PLATFORM_EXPORT bool isValidHTTPHeaderValueForFetch(const String&);
hiroshige 2015/08/27 11:38:08 How about isValidHTTPFieldContentRFC7230()? (This
shiva.jm 2015/09/01 08:26:51 Done.
PLATFORM_EXPORT bool isValidHTTPToken(const String&);
PLATFORM_EXPORT bool parseHTTPRefresh(const String& refresh, bool fromHttpEquivMeta, double& delay, String& url);
PLATFORM_EXPORT double parseDate(const String&);

Powered by Google App Engine
This is Rietveld 408576698