Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
-H, --header <header> (env SAUCE_HEADER)
Add or remove HTTP request headers. Use the format "name: value" to add a header, "name;" to set the header to
empty value, "-name" to remove the header, "-name*" to remove headers by prefix. The header name will be
normalized to canonical form. The header value should not contain any newlines or carriage returns. The flag
can be specified multiple times. Example: -H "Host: example.com" -H "-User-Agent" -H "-X-*".
Make the example stand out - use tags. Moreover, I'm not sure if -H "Host: example.com" works, since http.Request.Host and http.Request.Header are different things.
Make the example stand out - use tags. Moreover, I'm not sure if
-H "Host: example.com"
works, sincehttp.Request.Host
andhttp.Request.Header
are different things.