diff --git a/src/schema-routes/schema-routes.ts b/src/schema-routes/schema-routes.ts index 9ad602542..1a36c9abb 100644 --- a/src/schema-routes/schema-routes.ts +++ b/src/schema-routes/schema-routes.ts @@ -296,7 +296,10 @@ export class SchemaRoutes { return CONTENT_KIND.FORM_DATA; } - if (contentTypes.some((contentType) => contentType.includes("image/"))) { + if ( + contentTypes.some((contentType) => contentType.includes("image/")) || + contentTypes.some((contentType) => contentType.includes("application/octet-stream")) + ) { return CONTENT_KIND.IMAGE; }