aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/setheaders.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
commit1e3e0dd1271afda59ec244b64391b6579a998dce (patch)
tree5f1f617ccc8ea2b29650c10197407b1d3ecb7139 /doc-src/features/setheaders.html
parent17f09aa0afe9695505b746c370e1c5b889c19058 (diff)
parent3aa78f9ff38471f84a471618e1a43ca02fc65b6a (diff)
downloadmitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.gz
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.bz2
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.zip
merge master
Diffstat (limited to 'doc-src/features/setheaders.html')
-rw-r--r--doc-src/features/setheaders.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc-src/features/setheaders.html b/doc-src/features/setheaders.html
new file mode 100644
index 00000000..b74525df
--- /dev/null
+++ b/doc-src/features/setheaders.html
@@ -0,0 +1,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>