Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
std::ostream& std::operator<<(std::ostream& os, Z_HTTP_Request& httpreq)
{
os << httpreq.method << " ";
std::ostream& std::operator<<(std::ostream& os, Z_HTTP_Request& httpreq)
{
os << httpreq.method << " ";
return os;
}
std::ostream& std::operator<<(std::ostream& os, Z_HTTP_Response& httpres)
{
os << httpres.code << " ";
return os;
}
std::ostream& std::operator<<(std::ostream& os, Z_HTTP_Response& httpres)
{
os << httpres.code << " ";
os << " ";
std::list<std::string> vhosts;
mp::util::get_vhost_otherinfo(ir->otherInfo, vhosts);
if (vhosts.size()){
os << " ";
std::list<std::string> vhosts;
mp::util::get_vhost_otherinfo(ir->otherInfo, vhosts);
if (vhosts.size()){
dump_opt_string(os, ir->implementationId);
dump_opt_string(os, ir->implementationName);
dump_opt_string(os, ir->implementationVersion);
dump_opt_string(os, ir->implementationId);
dump_opt_string(os, ir->implementationName);
dump_opt_string(os, ir->implementationVersion);
char oid_name_str[OID_STR_MAX];
const char *oid_name = yaz_oid_to_string_buf(
pr->preferredRecordSyntax, 0, oid_name_str);
char oid_name_str[OID_STR_MAX];
const char *oid_name = yaz_oid_to_string_buf(
pr->preferredRecordSyntax, 0, oid_name_str);