mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Update ViewProtobuf in contentview.py to also decode as protobuf if the content_type is "application/x-protobuffer"
This commit is contained in:
parent
e31fc8ac40
commit
1c2e638d53
@ -397,7 +397,10 @@ class ViewProtobuf:
|
|||||||
|
|
||||||
name = "Protocol Buffer"
|
name = "Protocol Buffer"
|
||||||
prompt = ("protobuf", "p")
|
prompt = ("protobuf", "p")
|
||||||
content_types = ["application/x-protobuf"]
|
content_types = [
|
||||||
|
"application/x-protobuf",
|
||||||
|
"application/x-protobuffer",
|
||||||
|
]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def is_available():
|
def is_available():
|
||||||
|
Loading…
Reference in New Issue
Block a user