blob: a89ff0f2577af3be5ce711987f1a9f4aab1a6066 (
plain)
1
2
3
4
5
6
7
8
|
<? local viewtable, viewlibrary, pageinfo, session = ... ?>
Status: 200 OK
Content-Type: <? print(viewtable.option or "application/octet-stream") ?>
<? if viewtable.label then ?>
Content-Disposition: attachment; filename="<?= viewtable.label ?>"
<? end ?>
<?= viewtable.value ?>
|