pve-http-server/PVE/APIServer
Dominik Csapak 05e777bce5 AnyEvent: extend send_file with content-type
for pmg, we need to send temporary files (for the attachment quarantine),
but we cannot know beforehand what content-type it is, so we
optionally give it to send_file_start

we give a hash with the open filehandle and the content-type in that case

this also removes the unnecessary open on the filename, since we open
it in send_file_start anyway...

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-10-10 11:58:37 +02:00
..
Formatter re-use Debians jQuery and Bootstrap packages 2019-05-22 08:10:58 +02:00
AnyEvent.pm AnyEvent: extend send_file with content-type 2019-10-10 11:58:37 +02:00
Formatter.pm extract_auth_cookie: always call uri_unescape($ticket) 2017-01-16 14:24:21 +01:00
Utils.pm Add short comment about users of read_proxy_config 2019-02-26 07:05:33 +01:00