/* This file is part of Metaproxy.
- Copyright (C) 2005-2013 Index Data
+ Copyright (C) Index Data
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
}
else
{
- res_gdu = o.create_HTTP_Response(package.session(), hreq, 404);
+ res_gdu = o.create_HTTP_Response_details(
+ package.session(),
+ hreq, 502,
+ yaz_url_get_error(yaz_url));
}
package.response() = res_gdu;
yaz_url_destroy(yaz_url);