We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0989258 commit a139825Copy full SHA for a139825
src/model/events/content-types.ts
@@ -94,6 +94,8 @@ const mimeTypeToContentTypeMap: { [mimeType: string]: ViewableContentType } = {
94
'application/vnd.google.protobuf': 'protobuf',
95
'application/x-google-protobuf': 'protobuf',
96
'application/proto': 'protobuf', // N.b. this covers all application/XXX+proto values
97
+ 'application/grpc': 'protobuf', // Used in GRPC requests
98
+ 'application/x-protobuffer': 'protobuf' // Commonly seen in Google apps
99
100
'application/octet-stream': 'raw'
101
} as const;
@@ -192,4 +194,4 @@ export function getCompatibleTypes(
192
194
types.add('raw');
193
195
196
return Array.from(types);
-}
197
+}
0 commit comments