projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd362a
)
SRU SOAP decoding: handle HTTP basic auth as well
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 Apr 2011 10:12:38 +0000
(12:12 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 Apr 2011 10:12:38 +0000
(12:12 +0200)
Call yaz_srw_decodeauth in the SRU SOAP decoder function yaz_srw_decode.
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
353286f
..
1f06836
100644
(file)
--- 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)