<divclass="hurl-file"><divclass="hurl-entry"><divclass="request"><spanclass="line"><spanclass="comment"># Go through proxy</span></span><spanclass="line"><spanclass="comment"># The proxy adds header "From-Proxy:Hello" for both request and response</span></span><spanclass="line"><spanclass="comment"># mitmproxy -p 8888 --setheader ":~q:From-Proxy:Hello" --setheader ":~s:From-Proxy:Hello"</span></span><spanclass="line"><spanclass="method">GET</span><spanclass="url">http://localhost:8000/proxy</span></span></div><divclass="response"><spanclass="line"></span><spanclass="line"><spanclass="version">HTTP/1.0</span><spanclass="status">200</span></span><spanclass="line"><spanclass="string">From-Proxy</span><span>:</span><spanclass="string">Hello</span></span></div></div><spanclass="line"></span><spanclass="line"></span></div>