mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-27 19:15:33 +08:00
Update ViewProtobuf in contentview.py to also decode as protobuf if the content_type is "application/x-protobuffer"
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user