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

Unified Diff: net/url_request/url_request_job.cc

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Add call to CBS_len() 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
« no previous file with comments | « net/url_request/url_request_http_job_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b40b82271bda03fbf50706c49fb43c8d91e05f60..bbd0800b4319cef4d15e422809f33ea496e6fb12 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -974,6 +974,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();
« no previous file with comments | « net/url_request/url_request_http_job_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698