From 1c2e638d533f6a4770322ff2aa120220aa691869 Mon Sep 17 00:00:00 2001 From: Dan Wilbraham Date: Sun, 5 Jan 2014 23:40:02 +0000 Subject: Update ViewProtobuf in contentview.py to also decode as protobuf if the content_type is "application/x-protobuffer" --- libmproxy/console/contentview.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libmproxy/console/contentview.py b/libmproxy/console/contentview.py index 70f39d83..a5cb679e 100644 --- a/libmproxy/console/contentview.py +++ b/libmproxy/console/contentview.py @@ -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(): -- cgit v1.2.3