aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAnderson Mesquita <andersonvom@gmail.com>2018-06-04 12:03:27 +0200
committerAnderson Mesquita <andersonvom@gmail.com>2018-06-16 09:16:38 +0200
commitba02a0b8b9a068697b39b0f6c7ac36a2a479e0bc (patch)
tree5245bbd4b9002360ff88d7d26b850b448aec1be9 /examples
parent4fdc3d9e157965af6cf6220e0b7b5b7e5dc179bd (diff)
downloadmitmproxy-ba02a0b8b9a068697b39b0f6c7ac36a2a479e0bc.tar.gz
mitmproxy-ba02a0b8b9a068697b39b0f6c7ac36a2a479e0bc.tar.bz2
mitmproxy-ba02a0b8b9a068697b39b0f6c7ac36a2a479e0bc.zip
Add example to intercept/change specific requests
This example captures requests to a specific URL and returns an arbitrary response instead. It's common enough that is useful to have in the docs. It also adds links to the Request and Response classes to help developers writing scripts.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions