sukria/Dancer — Issue #681: "send_file system_path => 1" ignores content_type
Author: potyl
Created: 2011-10-20 10:14:37+00:00
State: open

Mixing system_path and content_type in send_file has no effect on the Content-Type header. The header will always be application/data

The following code:
return send_file $path, system_path => 1, content_type => 'text/plain';

Always returns:
Content-Type: application/data"