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

Unified Diff: third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp

Issue 2889033002: Better header value parsing for Server-Timing. (Closed)
Patch Set: init description as empty string for readability Created 3 years, 6 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 | « third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp
diff --git a/third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp b/third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp
index 0a1735bffcede5de3015b33600754bc37440f684..3370d9c0cb18ba6439b56b70aa17b915ce2f7563 100644
--- a/third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp
+++ b/third_party/WebKit/Source/platform/network/HeaderFieldTokenizer.cpp
@@ -118,7 +118,7 @@ bool HeaderFieldTokenizer::ConsumeTokenOrQuotedString(Mode mode,
}
void HeaderFieldTokenizer::SkipSpaces() {
- while (!IsConsumed() && input_[index_] == ' ')
+ while (!IsConsumed() && (input_[index_] == ' ' || input_[index_] == '\t'))
Mike West 2017/06/09 08:13:44 Hrm. On the one hand, sure, let's skip tabs. On th
++index_;
}
« no previous file with comments | « third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698