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 9d2a899 commit 305b7f2Copy full SHA for 305b7f2
src/utils/mimeUtility.ts
@@ -65,7 +65,7 @@ export class MimeUtility {
65
}
66
67
const { subtype, essence } = this.parse(contentTypeString);
68
- return essence === 'application/json' || subtype.endsWith('+json') || subtype.startsWith('x-amz-json');
+ return essence === 'application/json' || essence === 'text/json' || subtype.endsWith('+json') || subtype.startsWith('x-amz-json');
69
70
71
public static isXml(contentTypeString: string | undefined): boolean {
0 commit comments