mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-27 19:15:33 +08:00
fix NestedMessage encoding
This commit is contained in:
@@ -324,7 +324,7 @@ def test_user_agent():
|
||||
def test_nested_response():
|
||||
e = http.NestedResponse.expr()
|
||||
v = e.parseString("s'200'")[0]
|
||||
assert v.value.val == "200"
|
||||
assert v.value.val == b"200"
|
||||
tutils.raises(
|
||||
language.ParseException,
|
||||
e.parseString,
|
||||
|
||||
Reference in New Issue
Block a user