diff options
author | Anderson Mesquita <andersonvom@gmail.com> | 2018-06-04 11:48:30 +0200 |
---|---|---|
committer | Anderson Mesquita <andersonvom@gmail.com> | 2018-06-08 08:04:53 +0200 |
commit | 4fdc3d9e157965af6cf6220e0b7b5b7e5dc179bd (patch) | |
tree | 758dcd9940220ada271ca46626b1ac6cfb3e3299 /examples/addons/scripting-headers.py | |
parent | 9047c4f2a58d6e6b08d8066fb890b2a13de21fb3 (diff) | |
download | mitmproxy-4fdc3d9e157965af6cf6220e0b7b5b7e5dc179bd.tar.gz mitmproxy-4fdc3d9e157965af6cf6220e0b7b5b7e5dc179bd.tar.bz2 mitmproxy-4fdc3d9e157965af6cf6220e0b7b5b7e5dc179bd.zip |
Rename scripting file
In order to add the more scripting examples, it makes sense to rename
this file and avoid confusion.
Diffstat (limited to 'examples/addons/scripting-headers.py')
-rw-r--r-- | examples/addons/scripting-headers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/addons/scripting-headers.py b/examples/addons/scripting-headers.py new file mode 100644 index 00000000..8b23680e --- /dev/null +++ b/examples/addons/scripting-headers.py @@ -0,0 +1,3 @@ + +def request(flow): + flow.request.headers["myheader"] = "value" |