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:
b2bc97d
)
Allow Content-Type application/sru+xml YAZ-840
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 May 2015 12:55:27 +0000
(14:55 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 May 2015 12:55:27 +0000
(14:55 +0200)
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
9167ea8
..
1de920d
100644
(file)
--- a/
src/srwutil.c
+++ b/
src/srwutil.c
@@
-97,6
+97,8
@@
int yaz_srw_check_content_type(Z_HTTP_Response *hres)
return 1;
if (!yaz_strcmp_del("application/xml", content_type, "; "))
return 1;
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;
}
}
return 0;
}