Re: [whatwg/fetch] Update Fetch to support Token Binding. (#325)

vanupam commented on this pull request.



> +
+<h4 id=computing-token-binding-header-value>Computing a Token Binding Header Value</h4>
+<p>If the user agent supports <a for=/>Token Binding</a>,
+build a <code>Sec-Token-Binding</code> <a for=/>header</a>
+for a <a for=/>request</a> <var>httpRequest</var> using the Token Binding key store by running
+these substeps:
+
+<ol>
+ <li><p>Initialize <var>tokenBindingMessage</var> to null.
+
+ <li><p>Let <var>providedTokenBindingId</var> be the result of looking up the
+ <a for=/>token binding ID</a> for the <var>httpRequest</var>'s
+ <a for=/>current url</a>.
+
+ <li><p>If <var>providedTokenBindingId</var> is not null, then add a
+ <code>provided_token_binding</code> to <var>tokenBindingMessage</var>.

Updated to clarify.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/325#discussion_r106496835

Received on Thursday, 16 March 2017 18:28:51 UTC