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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h

Issue 2471533005: Preserve custom headers when following cross-origin redirects. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
index 9c65950d96f9ee5c920eafc8b03466d3e6312a7f..8f5cbf49c9fd2402500cd39cd3d05395efddb90e 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
@@ -217,8 +217,8 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader,
ResourceRequest m_actualRequest;
ResourceLoaderOptions m_actualOptions;
- // stores simple request headers in case of a cross-origin redirect.
- HTTPHeaderMap m_simpleRequestHeaders;
+ // stores request headers in case of a cross-origin redirect.
+ HTTPHeaderMap m_requestHeaders;
yhirano 2016/11/07 07:48:30 Do we still need this? Is it enough to use the hea
tyoshino (SeeGerritForStatus) 2016/11/07 10:48:17 Yeah, it's good to try it to see if just depending
yhirano 2016/11/07 12:30:50 Ah, you're right, thank you.
Jack Bates 2016/11/12 21:13:30 Do you have any tips on how to inspect the HTTPHea
yhirano 2016/11/14 08:42:43 I don't know. You can print hashmap entries like
Timer<DocumentThreadableLoader> m_timeoutTimer;
double

Powered by Google App Engine
This is Rietveld 408576698