mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
commit
7ef0e37c74
@ -323,7 +323,10 @@ if pyamf:
|
|||||||
prompt = ("amf", "f")
|
prompt = ("amf", "f")
|
||||||
content_types = ["application/x-amf"]
|
content_types = ["application/x-amf"]
|
||||||
|
|
||||||
def unpack(self, b, seen=set([])):
|
def unpack(self, b, seen=None):
|
||||||
|
if seen is None:
|
||||||
|
seen = set([])
|
||||||
|
|
||||||
if hasattr(b, "body"):
|
if hasattr(b, "body"):
|
||||||
return self.unpack(b.body, seen)
|
return self.unpack(b.body, seen)
|
||||||
if isinstance(b, DummyObject):
|
if isinstance(b, DummyObject):
|
||||||
|
Loading…
Reference in New Issue
Block a user