set_global_header
Add a global header to all HTTP/HTTPS requests flowing through mitmproxy, enabling consistent modification of request headers across sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |