From 9a50808021be48e8ff272f762b9f8245330a79e4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 May 2015 14:55:27 +0200 Subject: [PATCH] Allow Content-Type application/sru+xml YAZ-840 --- src/srwutil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/srwutil.c b/src/srwutil.c index 9167ea8..1de920d 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -97,6 +97,8 @@ int yaz_srw_check_content_type(Z_HTTP_Response *hres) return 1; if (!yaz_strcmp_del("application/xml", content_type, "; ")) return 1; + if (!yaz_strcmp_del("application/sru+xml", content_type, "; ")) + return 1; } return 0; } -- 1.7.10.4