From: Adam Dickmeiss Date: Mon, 11 Apr 2011 10:12:38 +0000 (+0200) Subject: SRU SOAP decoding: handle HTTP basic auth as well X-Git-Tag: v4.2.0~45 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=b7279e4a1668b45b6e6edbfeb7f45515dcabe191;ds=sidebyside SRU SOAP decoding: handle HTTP basic auth as well Call yaz_srw_decodeauth in the SRU SOAP decoder function yaz_srw_decode. --- diff --git a/src/srwutil.c b/src/srwutil.c index 353286f..1f06836 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -335,6 +335,7 @@ int yaz_srw_decode(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu, if (ret == 0 && (*soap_package)->which == Z_SOAP_generic) { *srw_pdu = (Z_SRW_PDU*) (*soap_package)->u.generic->p; + yaz_srw_decodeauth(*srw_pdu, hreq, 0, 0, decode); if ((*srw_pdu)->which == Z_SRW_searchRetrieve_request && (*srw_pdu)->u.request->database == 0)