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

Unified Diff: net/url_request/url_request_job.cc

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Fix compilation error in unit_tests Created 4 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: net/url_request/url_request_job.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index eadeb4b8954f1e2d80e2f8e581fac4238302a739..95ea212cf404b0e1932c1e47ffd38b3b5457094b 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -978,6 +978,7 @@ RedirectInfo URLRequestJob::ComputeRedirectInfo(const GURL& location,
std::string include_referer;
request_->GetResponseHeaderByName("include-referred-token-binding-id",
&include_referer);
+ include_referer = base::ToLowerASCII(include_referer);
if (include_referer == "true" &&
request_->ssl_info().token_binding_negotiated) {
redirect_info.referred_token_binding_host = url.host();

Powered by Google App Engine
This is Rietveld 408576698