Update doc
This commit is contained in:
parent
bac58997b7
commit
4a6c86f67e
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
|
@ -533,8 +533,8 @@ SPDY proxy):</p>
|
||||||
<p>At the time of this writing, Chrome is the only browser which supports
|
<p>At the time of this writing, Chrome is the only browser which supports
|
||||||
secure proxy. The one way to configure Chrome to use secure proxy is
|
secure proxy. The one way to configure Chrome to use secure proxy is
|
||||||
create proxy.pac script like this:</p>
|
create proxy.pac script like this:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="n">function</span> <span class="nf">FindProxyForURL</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="n">host</span><span class="p">)</span> <span class="p">{</span>
|
<div class="highlight-javascript"><div class="highlight"><pre><span class="kd">function</span> <span class="nx">FindProxyForURL</span><span class="p">(</span><span class="nx">url</span><span class="p">,</span> <span class="nx">host</span><span class="p">)</span> <span class="p">{</span>
|
||||||
<span class="k">return</span> <span class="s">"HTTPS SERVERADDR:PORT"</span><span class="p">;</span>
|
<span class="k">return</span> <span class="s2">"HTTPS SERVERADDR:PORT"</span><span class="p">;</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -603,20 +603,20 @@ and are processed in the order they appear. Each item in the sequence
|
||||||
is a JSON object and it must have at least <tt class="docutils literal"><span class="pre">headers</span></tt> key. Its value
|
is a JSON object and it must have at least <tt class="docutils literal"><span class="pre">headers</span></tt> key. Its value
|
||||||
is an array of a JSON object containing exactly one name/value pair.</p>
|
is an array of a JSON object containing exactly one name/value pair.</p>
|
||||||
<p>Example:</p>
|
<p>Example:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="p">{</span>
|
<div class="highlight-json"><div class="highlight"><pre><span class="p">{</span>
|
||||||
<span class="s">"context"</span><span class="o">:</span> <span class="s">"request"</span><span class="p">,</span>
|
<span class="nt">"context"</span><span class="p">:</span> <span class="s2">"request"</span><span class="p">,</span>
|
||||||
<span class="s">"cases"</span><span class="o">:</span>
|
<span class="nt">"cases"</span><span class="p">:</span>
|
||||||
<span class="p">[</span>
|
<span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span> <span class="s">":method"</span><span class="o">:</span> <span class="s">"GET"</span> <span class="p">},</span>
|
<span class="p">{</span> <span class="nt">":method"</span><span class="p">:</span> <span class="s2">"GET"</span> <span class="p">},</span>
|
||||||
<span class="p">{</span> <span class="s">":path"</span><span class="o">:</span> <span class="s">"/"</span> <span class="p">}</span>
|
<span class="p">{</span> <span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/"</span> <span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span> <span class="s">":method"</span><span class="o">:</span> <span class="s">"POST"</span> <span class="p">},</span>
|
<span class="p">{</span> <span class="nt">":method"</span><span class="p">:</span> <span class="s2">"POST"</span> <span class="p">},</span>
|
||||||
<span class="p">{</span> <span class="s">":path"</span><span class="o">:</span> <span class="s">"/"</span> <span class="p">}</span>
|
<span class="p">{</span> <span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/"</span> <span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
|
@ -655,60 +655,60 @@ value is an array of JSON object, which has at least following keys:</p>
|
||||||
<dd>The header table size adjsuted before deflating header set.</dd>
|
<dd>The header table size adjsuted before deflating header set.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<p>Examples:</p>
|
<p>Examples:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="p">{</span>
|
<div class="highlight-json"><div class="highlight"><pre><span class="p">{</span>
|
||||||
<span class="s">"context"</span><span class="o">:</span> <span class="s">"request"</span><span class="p">,</span>
|
<span class="nt">"context"</span><span class="p">:</span> <span class="s2">"request"</span><span class="p">,</span>
|
||||||
<span class="s">"cases"</span><span class="o">:</span>
|
<span class="nt">"cases"</span><span class="p">:</span>
|
||||||
<span class="p">[</span>
|
<span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
|
||||||
<span class="s">"input_length"</span><span class="o">:</span> <span class="mi">66</span><span class="p">,</span>
|
<span class="nt">"input_length"</span><span class="p">:</span> <span class="mi">66</span><span class="p">,</span>
|
||||||
<span class="s">"output_length"</span><span class="o">:</span> <span class="mi">20</span><span class="p">,</span>
|
<span class="nt">"output_length"</span><span class="p">:</span> <span class="mi">20</span><span class="p">,</span>
|
||||||
<span class="s">"percentage_of_original_size"</span><span class="o">:</span> <span class="mf">30.303030303030305</span><span class="p">,</span>
|
<span class="nt">"percentage_of_original_size"</span><span class="p">:</span> <span class="mf">30.303030303030305</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"GET"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"GET"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">,</span>
|
<span class="p">,</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
|
||||||
<span class="s">"input_length"</span><span class="o">:</span> <span class="mi">74</span><span class="p">,</span>
|
<span class="nt">"input_length"</span><span class="p">:</span> <span class="mi">74</span><span class="p">,</span>
|
||||||
<span class="s">"output_length"</span><span class="o">:</span> <span class="mi">10</span><span class="p">,</span>
|
<span class="nt">"output_length"</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
|
||||||
<span class="s">"percentage_of_original_size"</span><span class="o">:</span> <span class="mf">13.513513513513514</span><span class="p">,</span>
|
<span class="nt">"percentage_of_original_size"</span><span class="p">:</span> <span class="mf">13.513513513513514</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"88448504252dd5918485"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"88448504252dd5918485"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"POST"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"POST"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/account"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/account"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
|
@ -747,152 +747,152 @@ than <tt class="docutils literal"><span class="pre">max_size</span></tt>. In thi
|
||||||
that they are no longer referenced.</dd>
|
that they are no longer referenced.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<p>Example:</p>
|
<p>Example:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="p">{</span>
|
<div class="highlight-json"><div class="highlight"><pre><span class="p">{</span>
|
||||||
<span class="s">"context"</span><span class="o">:</span> <span class="s">"request"</span><span class="p">,</span>
|
<span class="nt">"context"</span><span class="p">:</span> <span class="s2">"request"</span><span class="p">,</span>
|
||||||
<span class="s">"cases"</span><span class="o">:</span>
|
<span class="nt">"cases"</span><span class="p">:</span>
|
||||||
<span class="p">[</span>
|
<span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
|
||||||
<span class="s">"input_length"</span><span class="o">:</span> <span class="mi">66</span><span class="p">,</span>
|
<span class="nt">"input_length"</span><span class="p">:</span> <span class="mi">66</span><span class="p">,</span>
|
||||||
<span class="s">"output_length"</span><span class="o">:</span> <span class="mi">20</span><span class="p">,</span>
|
<span class="nt">"output_length"</span><span class="p">:</span> <span class="mi">20</span><span class="p">,</span>
|
||||||
<span class="s">"percentage_of_original_size"</span><span class="o">:</span> <span class="mf">30.303030303030305</span><span class="p">,</span>
|
<span class="nt">"percentage_of_original_size"</span><span class="p">:</span> <span class="mf">30.303030303030305</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"GET"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"GET"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span><span class="p">,</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span><span class="p">,</span>
|
||||||
<span class="s">"header_table"</span><span class="o">:</span> <span class="p">{</span>
|
<span class="nt">"header_table"</span><span class="p">:</span> <span class="p">{</span>
|
||||||
<span class="s">"entries"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"entries"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">"user-agent"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">"user-agent"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"nghttp2"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"nghttp2"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">49</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">49</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">2</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":scheme"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":scheme"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"https"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"https"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">44</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">44</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">3</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">3</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":path"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":path"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"/"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"/"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">38</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">38</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">4</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">4</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":method"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":method"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"GET"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"GET"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">42</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">42</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">5</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">5</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":authority"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":authority"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"example.org"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"example.org"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">53</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">53</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">226</span><span class="p">,</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">226</span><span class="p">,</span>
|
||||||
<span class="s">"max_size"</span><span class="o">:</span> <span class="mi">4096</span><span class="p">,</span>
|
<span class="nt">"max_size"</span><span class="p">:</span> <span class="mi">4096</span><span class="p">,</span>
|
||||||
<span class="s">"deflate_size"</span><span class="o">:</span> <span class="mi">226</span><span class="p">,</span>
|
<span class="nt">"deflate_size"</span><span class="p">:</span> <span class="mi">226</span><span class="p">,</span>
|
||||||
<span class="s">"max_deflate_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"max_deflate_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">,</span>
|
<span class="p">,</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
|
||||||
<span class="s">"input_length"</span><span class="o">:</span> <span class="mi">74</span><span class="p">,</span>
|
<span class="nt">"input_length"</span><span class="p">:</span> <span class="mi">74</span><span class="p">,</span>
|
||||||
<span class="s">"output_length"</span><span class="o">:</span> <span class="mi">10</span><span class="p">,</span>
|
<span class="nt">"output_length"</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
|
||||||
<span class="s">"percentage_of_original_size"</span><span class="o">:</span> <span class="mf">13.513513513513514</span><span class="p">,</span>
|
<span class="nt">"percentage_of_original_size"</span><span class="p">:</span> <span class="mf">13.513513513513514</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"88448504252dd5918485"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"88448504252dd5918485"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"POST"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"POST"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/account"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/account"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span><span class="p">,</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span><span class="p">,</span>
|
||||||
<span class="s">"header_table"</span><span class="o">:</span> <span class="p">{</span>
|
<span class="nt">"header_table"</span><span class="p">:</span> <span class="p">{</span>
|
||||||
<span class="s">"entries"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"entries"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":method"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":method"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"POST"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"POST"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">43</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">43</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">2</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">"user-agent"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">"user-agent"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"nghttp2"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"nghttp2"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">49</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">49</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">3</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">3</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":scheme"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":scheme"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"https"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"https"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">44</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">44</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">4</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">4</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":path"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":path"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"/"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"/"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">false</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">38</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">38</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">5</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">5</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":method"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":method"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"GET"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"GET"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">false</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">42</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">42</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"index"</span><span class="o">:</span> <span class="mi">6</span><span class="p">,</span>
|
<span class="nt">"index"</span><span class="p">:</span> <span class="mi">6</span><span class="p">,</span>
|
||||||
<span class="s">"name"</span><span class="o">:</span> <span class="s">":authority"</span><span class="p">,</span>
|
<span class="nt">"name"</span><span class="p">:</span> <span class="s2">":authority"</span><span class="p">,</span>
|
||||||
<span class="s">"value"</span><span class="o">:</span> <span class="s">"example.org"</span><span class="p">,</span>
|
<span class="nt">"value"</span><span class="p">:</span> <span class="s2">"example.org"</span><span class="p">,</span>
|
||||||
<span class="s">"referenced"</span><span class="o">:</span> <span class="nb">true</span><span class="p">,</span>
|
<span class="nt">"referenced"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">53</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">53</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"size"</span><span class="o">:</span> <span class="mi">269</span><span class="p">,</span>
|
<span class="nt">"size"</span><span class="p">:</span> <span class="mi">269</span><span class="p">,</span>
|
||||||
<span class="s">"max_size"</span><span class="o">:</span> <span class="mi">4096</span><span class="p">,</span>
|
<span class="nt">"max_size"</span><span class="p">:</span> <span class="mi">4096</span><span class="p">,</span>
|
||||||
<span class="s">"deflate_size"</span><span class="o">:</span> <span class="mi">269</span><span class="p">,</span>
|
<span class="nt">"deflate_size"</span><span class="p">:</span> <span class="mi">269</span><span class="p">,</span>
|
||||||
<span class="s">"max_deflate_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"max_deflate_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
|
@ -913,12 +913,12 @@ are processed in the order they appear. Each item in the sequence is a
|
||||||
JSON object and it must have at least <tt class="docutils literal"><span class="pre">wire</span></tt> key. Its value is a
|
JSON object and it must have at least <tt class="docutils literal"><span class="pre">wire</span></tt> key. Its value is a
|
||||||
string containing compressed header block in hex string.</p>
|
string containing compressed header block in hex string.</p>
|
||||||
<p>Example:</p>
|
<p>Example:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="p">{</span>
|
<div class="highlight-json"><div class="highlight"><pre><span class="p">{</span>
|
||||||
<span class="s">"context"</span><span class="o">:</span> <span class="s">"request"</span><span class="p">,</span>
|
<span class="nt">"context"</span><span class="p">:</span> <span class="s2">"request"</span><span class="p">,</span>
|
||||||
<span class="s">"cases"</span><span class="o">:</span>
|
<span class="nt">"cases"</span><span class="p">:</span>
|
||||||
<span class="p">[</span>
|
<span class="p">[</span>
|
||||||
<span class="p">{</span> <span class="s">"wire"</span><span class="o">:</span> <span class="s">"8285"</span> <span class="p">},</span>
|
<span class="p">{</span> <span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"8285"</span> <span class="p">},</span>
|
||||||
<span class="p">{</span> <span class="s">"wire"</span><span class="o">:</span> <span class="s">"8583"</span> <span class="p">}</span>
|
<span class="p">{</span> <span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"8583"</span> <span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
@ -939,54 +939,54 @@ value is an array of JSON object, which has at least following keys:</p>
|
||||||
block.</dd>
|
block.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<p>Example:</p>
|
<p>Example:</p>
|
||||||
<div class="highlight-c"><div class="highlight"><pre><span class="p">{</span>
|
<div class="highlight-json"><div class="highlight"><pre><span class="p">{</span>
|
||||||
<span class="s">"context"</span><span class="o">:</span> <span class="s">"request"</span><span class="p">,</span>
|
<span class="nt">"context"</span><span class="p">:</span> <span class="s2">"request"</span><span class="p">,</span>
|
||||||
<span class="s">"cases"</span><span class="o">:</span>
|
<span class="nt">"cases"</span><span class="p">:</span>
|
||||||
<span class="p">[</span>
|
<span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"01881f3468e5891afcbf83868a3d856659c62e3f"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"GET"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"GET"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">,</span>
|
<span class="p">,</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"seq"</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
|
<span class="nt">"seq"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
|
||||||
<span class="s">"wire"</span><span class="o">:</span> <span class="s">"88448504252dd5918485"</span><span class="p">,</span>
|
<span class="nt">"wire"</span><span class="p">:</span> <span class="s2">"88448504252dd5918485"</span><span class="p">,</span>
|
||||||
<span class="s">"headers"</span><span class="o">:</span> <span class="p">[</span>
|
<span class="nt">"headers"</span><span class="p">:</span> <span class="p">[</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":method"</span><span class="o">:</span> <span class="s">"POST"</span>
|
<span class="nt">":method"</span><span class="p">:</span> <span class="s2">"POST"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":path"</span><span class="o">:</span> <span class="s">"/account"</span>
|
<span class="nt">":path"</span><span class="p">:</span> <span class="s2">"/account"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">"user-agent"</span><span class="o">:</span> <span class="s">"nghttp2"</span>
|
<span class="nt">"user-agent"</span><span class="p">:</span> <span class="s2">"nghttp2"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":scheme"</span><span class="o">:</span> <span class="s">"https"</span>
|
<span class="nt">":scheme"</span><span class="p">:</span> <span class="s2">"https"</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="s">":authority"</span><span class="o">:</span> <span class="s">"example.org"</span>
|
<span class="nt">":authority"</span><span class="p">:</span> <span class="s2">"example.org"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">],</span>
|
<span class="p">],</span>
|
||||||
<span class="s">"header_table_size"</span><span class="o">:</span> <span class="mi">4096</span>
|
<span class="nt">"header_table_size"</span><span class="p">:</span> <span class="mi">4096</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">]</span>
|
<span class="p">]</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue