mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +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"
|
||||
prompt = ("protobuf", "p")
|
||||
content_types = ["application/x-protobuf"]
|
||||
content_types = [
|
||||
"application/x-protobuf",
|
||||
"application/x-protobuffer",
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def is_available():
|
||||
|
Loading…
Reference in New Issue
Block a user