Loading data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
data-discovery/src/main/java/vlkb/webapi/FormatResponseFilter.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading