This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
mitmproxy
mirror of
https://github.com/mitmproxy/mitmproxy.git
Watch
1
Star
1
Fork
You've already forked mitmproxy
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
281f20ef1e
mitmproxy
/
examples
/
modify_querystring.py
3 lines
65 B
Python
Raw
Normal View
History
Unescape
Escape
remove context from all scripts
2016-07-08 01:37:33 +00:00
def
request
(
flow
)
:
add MultiDict This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies.
2016-05-19 01:46:42 +00:00
flow
.
request
.
query
[
"
mitmproxy
"
]
=
"
rocks
"