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 FORWARDER_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. The following example removes the User-Agent
header and all headers starting with X-.
-H "-User-Agent" -H "-X-*"