]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
Funktion "send_file" im Controller, um Dateien herunterzuladen
[mfinanz.git] / SL / Form.pm
index b2cb1dead91686ace4d8c6f10c06f2a9bbeef520..1a2573960916833e307d6a737a1ea5380d73a86e 100644 (file)
@@ -629,6 +629,8 @@ sub create_http_response {
   $cgi_params{'-charset'} = $params{charset} if ($params{charset});
   $cgi_params{'-cookie'}  = $session_cookie  if ($session_cookie);
 
+  map { $cgi_params{'-' . $_} = $params{$_} if exists $params{$_} } qw(content_disposition content_length);
+
   my $output = $cgi->header(%cgi_params);
 
   $main::lxdebug->leave_sub();