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
e6ea365f19
mitmproxy
/
examples
/
modify_querystring.py
3 lines
74 B
Python
Raw
Normal View
History
Unescape
Escape
update examples, fix #353
2014-09-08 14:02:31 +00:00
def
request
(
context
,
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
"