Use application/json as mime type for iiif manifests

(cherry picked from commit 643e9984c7)
This commit is contained in:
Pascal-Nicolas Becker
2025-04-15 18:10:01 +02:00
committed by github-actions[bot]
parent 1f5d072317
commit 0095ec7f56

View File

@@ -48,7 +48,7 @@ public class IIIFController {
* @param id DSpace Item uuid
* @return manifest as JSON
*/
@RequestMapping(method = RequestMethod.GET, value = "/{id}/manifest")
@RequestMapping(method = RequestMethod.GET, value = "/{id}/manifest", produces = "application/json")
public String findOne(@PathVariable UUID id) {
Context context = ContextUtil.obtainCurrentRequestContext();
return iiifFacade.getManifest(context, id);