X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp.c;h=e2d9f7ba3c0c7f011b9e44340e05fb7d8e6f7d9e;hb=4ae1e0582f66acaec33dca2c3b023d47d7f431af;hp=e6d883a7d5ca0017550e15b7c6eaf9278ded33bb;hpb=80327a52571cc68cfc23ea9ef086a4b5334b5d00;p=pazpar2-moved-to-github.git diff --git a/src/http.c b/src/http.c index e6d883a..e2d9f7b 100644 --- a/src/http.c +++ b/src/http.c @@ -607,7 +607,8 @@ struct http_request *http_parse_request(struct http_channel *c, r->content_len = start + len - buf; r->content_buf = buf; - if (!yaz_strcmp_del("application/x-www-form-urlencoded", + if (content_type && + !yaz_strcmp_del("application/x-www-form-urlencoded", content_type, "; ")) { http_parse_arguments(r, c->nmem, r->content_buf);