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;
}
p1 = p0 + strlen(p0);
if (p1 != p0)
db = yaz_decode_sru_dbpath_odr(decode, p0, p1 - p0);
- if (!strcmp(hreq->method, "POST"))
+ if (!strcmp(hreq->method, "POST") && hreq->content_buf)
p1 = hreq->content_buf;
yaz_uri_to_array(p1, decode, &uri_name, &uri_val);
#if YAZ_HAVE_XML2