From b7279e4a1668b45b6e6edbfeb7f45515dcabe191 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 11 Apr 2011 12:12:38 +0200 Subject: [PATCH] SRU SOAP decoding: handle HTTP basic auth as well Call yaz_srw_decodeauth in the SRU SOAP decoder function yaz_srw_decode. --- src/srwutil.c | 1 + 1 file changed, 1 insertion(+) 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) -- 1.7.10.4