X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsrwutil.c;h=1de920db0e078305bcb5879c7b5fee713f61f45e;hp=9167ea85b3e1d0e56480eb0ed5081c809762282b;hb=9a50808021be48e8ff272f762b9f8245330a79e4;hpb=2b1f30bfd76fe82ff850f41508ae7a71b42e6be1 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; }