hurl/integration/tests_ok/proxy.html

9 lines
697 B
HTML
Raw Normal View History

2021-09-21 07:36:53 +03:00
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Go through proxy</span>
<span class="line"></span><span class="comment"># The proxy adds header "From-Proxy:Hello" for both request and response</span>
2023-04-05 12:07:50 +03:00
<span class="line"><span class="method">GET</span> <span class="url">http://127.0.0.1:8000/proxy</span></span>
2021-09-21 07:36:53 +03:00
</span><span class="response"><span class="line"></span>
2022-11-11 16:25:00 +03:00
<span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
2023-04-17 14:05:34 +03:00
<span class="line"><span class="string">From-Proxy</span>: <span class="string">Hello</span></span>
2021-09-21 07:36:53 +03:00
</span></span><span class="line"></span>
</code></pre>