mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 11:56:52 +08:00
Refresh current connection when toggling autodecode.
Also fix the unit tests I forgot to commit...
This commit is contained in:
@@ -10,8 +10,7 @@ class uidentity(libpry.AutoTree):
|
||||
assert "string" == encoding.encode("identity", "string")
|
||||
|
||||
def test_fallthrough(self):
|
||||
assert "string" == encoding.decode("nonexistent encoding", "string")
|
||||
assert "string" == encoding.encode("nonexistent encoding", "string")
|
||||
assert None == encoding.decode("nonexistent encoding", "string")
|
||||
|
||||
class ugzip(libpry.AutoTree):
|
||||
def test_simple(self):
|
||||
|
||||
Reference in New Issue
Block a user