diff options
author | Eric Entzel <eric@ubermac.net> | 2013-02-11 13:22:25 +1100 |
---|---|---|
committer | Eric Entzel <eric@ubermac.net> | 2013-02-11 13:22:25 +1100 |
commit | 6bcf29c0ed39904cd28cf9ab97fa75c5c0f4d32c (patch) | |
tree | 24d1f3e09e4fe9e333254cf03795c4af16821ba7 /test/test_flow.py | |
parent | 53792a5a28df80552fdbedee3b88f204d94ad9ce (diff) | |
download | mitmproxy-6bcf29c0ed39904cd28cf9ab97fa75c5c0f4d32c.tar.gz mitmproxy-6bcf29c0ed39904cd28cf9ab97fa75c5c0f4d32c.tar.bz2 mitmproxy-6bcf29c0ed39904cd28cf9ab97fa75c5c0f4d32c.zip |
Keep blank URL parameters
TODO: This should probably be configurable
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index da5b095e..0c713c03 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -807,7 +807,7 @@ class TestRequest: r = flow.Request(None, (1, 1), "host", 22, "https", "GET", "/?adsfa", h, "content") q = r.get_query() - assert not q + assert q.lst == [("adsfa", "")] r = flow.Request(None, (1, 1), "host", 22, "https", "GET", "/foo?x=y&a=b", h, "content") assert r.get_query() |