hurl/integration/tests/proxy.hurl

10 lines
248 B
Plaintext
Raw Normal View History

2020-10-29 22:08:15 +03:00
# Go through proxy
# The proxy adds header "From-Proxy:Hello" for both request and response
# mitmproxy -p 8888 --setheader ":~q:From-Proxy:Hello" --setheader ":~s:From-Proxy:Hello"
GET http://localhost:8000/proxy
HTTP/1.0 200
From-Proxy: Hello