use Apache2::Log;
use Apache2::Const -compile => qw(OK REDIRECT DECLINED NOT_FOUND :log);
use APR::Const -compile => qw(:error SUCCESS);
+use APR::Table;
+
use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::RequestUtil;
$ftype->require;
}
+ my $ses = OpenSRF::AppSession->create('open-ils.cstore');
- $r->header_out("Content-Disposition" => "inline; filename=$filename");
+ $r->headers_out->set("Content-Disposition" => "inline; filename=$filename");
if (uc($format) eq 'XML') {
$r->send_http_header('application/xml');
my %orgs;
my %shelves;
- my $ses = OpenSRF::AppSession->create('open-ils.cstore');
-
my $flesh = {};
if ($holdings) {