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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2828753002: XHR: Lowercase header names returned by getAllResponseHeaders(). (Closed)
Patch Set: Rebased patch Created 3 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 | « third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html ('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/core/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index 561ff2d1b3e11519e87a69fe8e8d949800db63aa..a374123cd961c671e4f80638c420665799fab11e 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -1402,7 +1402,7 @@ String XMLHttpRequest::getAllResponseHeaders() const {
!access_control_expose_header_set.Contains(it->key))
continue;
- string_builder.Append(it->key);
+ string_builder.Append(it->key.LowerASCII());
string_builder.Append(':');
string_builder.Append(' ');
string_builder.Append(it->value);
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698