From 4be99370e60b5b49f321df7309fd0c84a24cd286 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Fri, 1 Aug 2025 16:50:32 +0200 Subject: [PATCH] Change the MIME type of binary responses --- lib/www/server/api/middleware/sequence/get/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/www/server/api/middleware/sequence/get/index.js b/lib/www/server/api/middleware/sequence/get/index.js index e395257..ed052e5 100644 --- a/lib/www/server/api/middleware/sequence/get/index.js +++ b/lib/www/server/api/middleware/sequence/get/index.js @@ -7,7 +7,8 @@ module.exports = async function (req, res, next) { const handlers = { "application/json": json, "application/geo+json": geojson, - "application/dougal-map-sequence+octet-stream": binary + // application/vnd.aaltronav.dougal+octet-stream; format=0x1c + "application/vnd.aaltronav.dougal+octet-stream": binary }; const mimetype = (handlers[req.query.mime] && req.query.mime) || req.accepts(Object.keys(handlers));