aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http_uastrings.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-05-27 17:31:18 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-05-29 11:42:46 +0200
commit754f929187e3954eb05971e38bcd3358d3a5e3be (patch)
treefc3506ebf0e09a517bcf9296e0cbc4abffb42479 /netlib/http_uastrings.py
parent5288aa36403bc4b350700a0bf97adc4413f2a398 (diff)
downloadmitmproxy-754f929187e3954eb05971e38bcd3358d3a5e3be.tar.gz
mitmproxy-754f929187e3954eb05971e38bcd3358d3a5e3be.tar.bz2
mitmproxy-754f929187e3954eb05971e38bcd3358d3a5e3be.zip
fix default argument
Python evaluates default args during method definition. So you get the same dict each time you call this method. Therefore the dict is the SAME actual object each time.
Diffstat (limited to 'netlib/http_uastrings.py')
0 files changed, 0 insertions, 0 deletions