aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/setheaders.html
blob: b74525df2161a3d6d6fced9cd46a0878b7bb3e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This feature lets you specify a set of headers to be added to requests or
responses, based on a filter pattern. You can specify these either on the
command-line, or through an interactive editor in mitmproxy.

<table class="table">
    <tbody>
        <tr>
            <th width="20%">command-line</th>
            <td>
                --setheader PATTERN
            </td>
        </tr>
        <tr>
            <th>mitmproxy shortcut</th> <td><b>H</b></td>
        </tr>
    </tbody>
</table>