From f411e118d571589582d87b5f39917b104e59d368 Mon Sep 17 00:00:00 2001 From: Robert Butora <robert.butora@gmail.com> Date: Tue, 26 Mar 2024 11:38:01 -0400 Subject: [PATCH] reponse formatting filter expects application/x-vlkb+xml instead of ../vlkb+xml --- .../src/main/java/vlkb/webapi/FormatResponseFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java b/data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java index bcc2286..2bc2e9c 100644 --- a/data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java +++ b/data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java @@ -115,7 +115,7 @@ public class FormatResponseFilter implements Filter final String respFormat = settings.serviceUrls.responseFormat(); LOGGER.info("responseFormat: " + respFormat); - if(respFormat.equals("application/vlkb+xml")) // FIXME hsould be application/x-vlkb+xml -> x- is for eXperimental a.k.a. not registered + if(respFormat.equals("application/x-vlkb+xml")) { response.setContentType("application/xml"); boolean showDuration = true; -- GitLab