summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6533b13)
The three valid IRSpy protocols are Z39.50, SRU and SRW; the valid
ZOOM protocols are tcp and http. But if tcp gets into an IRSpy record,
then it's tolerated.
if !defined $id;
my($protocol, $target) = ($id =~ /(.*?):(.*)/);
if !defined $id;
my($protocol, $target) = ($id =~ /(.*?):(.*)/);
- if (uc($protocol) eq "Z39.50") {
+ if (uc($protocol) eq "Z39.50" || uc($protocol) eq "TCP") {
return "tcp:$target";
} elsif (uc($protocol) eq "SRU") {
return "sru=get,http:$target";
return "tcp:$target";
} elsif (uc($protocol) eq "SRU") {
return "sru=get,http:$target";