Update ViewProtobuf in contentview.py to also decode as protobuf if the content_type is "application/x-protobuffer"

This commit is contained in:
Dan Wilbraham 2014-01-05 23:40:02 +00:00
parent e31fc8ac40
commit 1c2e638d53

View File

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