aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/anticache.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-01-03 08:25:24 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-01-03 08:25:24 +1300
commit101f92b2566adea605b9db69dba29e575414cbba (patch)
treeeafcfac61972f7a18c069d098accc4ce2cf1cfea /doc-src/features/anticache.html
parentf578d68e555ff202a51b9f8672e540a964e31fed (diff)
downloadmitmproxy-101f92b2566adea605b9db69dba29e575414cbba.tar.gz
mitmproxy-101f92b2566adea605b9db69dba29e575414cbba.tar.bz2
mitmproxy-101f92b2566adea605b9db69dba29e575414cbba.zip
Docs: move features into their own directory
Diffstat (limited to 'doc-src/features/anticache.html')
-rw-r--r--doc-src/features/anticache.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc-src/features/anticache.html b/doc-src/features/anticache.html
new file mode 100644
index 00000000..f42903e8
--- /dev/null
+++ b/doc-src/features/anticache.html
@@ -0,0 +1,18 @@
+
+When the __anticache__ option is passed to mitmproxy, it removes headers
+(__if-none-match__ and __if-modified-since__) that might elicit a
+304-not-modified response from the server. This is useful when you want to make
+sure you capture an HTTP exchange in its totality. It's also often used during
+[client replay](@!urlTo("clientreplay.html")!@), when you want to make sure the
+server responds with complete data.
+
+<table class="table">
+ <tbody>
+ <tr>
+ <th width="20%">command-line</th> <td>--anticache</td>
+ </tr>
+ <tr>
+ <th>mitmproxy shortcut</th> <td><b>o</b> then <b>a</b></td>
+ </tr>
+ </tbody>
+</table>