aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-14 10:13:03 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-14 10:13:03 +1200
commit6db5e0a4a133e6e6150f9cab87cd56b40d6db0b2 (patch)
tree3f8a311aed46608498ea2c43762bf1e15e9df87e /test
parentde9e7411253c4f67ea4d0b96f6f9e952024c5fa3 (diff)
downloadmitmproxy-6db5e0a4a133e6e6150f9cab87cd56b40d6db0b2.tar.gz
mitmproxy-6db5e0a4a133e6e6150f9cab87cd56b40d6db0b2.tar.bz2
mitmproxy-6db5e0a4a133e6e6150f9cab87cd56b40d6db0b2.zip
Remove old-style set-cookie cruft, unit tests to 100%
Diffstat (limited to 'test')
-rw-r--r--test/test_http_cookies.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_http_cookies.py b/test/test_http_cookies.py
index c0e5a5b7..ad509254 100644
--- a/test/test_http_cookies.py
+++ b/test/test_http_cookies.py
@@ -156,6 +156,12 @@ def test_parse_set_cookie_pairs():
]
],
[
+ "one=un\x20",
+ [
+ ["one", "un\x20"]
+ ]
+ ],
+ [
"one=uno; foo",
[
["one", "uno"],