mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
f47d89ff4e
This reverts commit 8f88fcedd6
.
19 lines
665 B
HTML
19 lines
665 B
HTML
|
|
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>
|