server-driven print templates temp simplify content type
authorBill Erickson <berickxx@gmail.com>
Tue, 16 Apr 2019 18:12:59 +0000 (14:12 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 19 Apr 2019 17:31:22 +0000 (13:31 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm

index 436ea5c..194afd3 100644 (file)
@@ -105,7 +105,10 @@ sub handler {
             # Scrub the HTML
             $output = $hr->process($output);
         }
-        $r->content_type("$ctype; encoding=utf8");
+        # TODO
+        # client current expects content type to only contain type.
+        # $r->content_type("$ctype; encoding=utf8");
+        $r->content_type($ctype);
         $r->print($output);
         return Apache2::Const::OK;