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:
Maximilian Hils 2014-01-06 04:46:59 -08:00
commit b75cfd5bf8

View File

@ -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():