mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 07:49:10 +00:00
Merge pull request #199 from dwilbraham/add_protobuffer_content_type
Decode content as protobuf if the content_type is "application/x-protobuffer"
This commit is contained in:
commit
b75cfd5bf8
@ -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