send_file() ignores options. #42

Closed
LavirtheWhiolet opened this Issue Jul 29, 2010 · 3 comments

Projects

None yet

2 participants

@LavirtheWhiolet
get "/download" do
  send_file("xxx.doc", :filename => "xxx.bin", :type => 'application/octet-stream')
end

sends "download" file with MIME type corresponding to "doc" when trying to download it in browser.

@rkh
Member
rkh commented Sep 7, 2010

Fixed by #56.

@LavirtheWhiolet

OK. I need to update. I'll reopen it if this is still actual.

@rkh
Member
rkh commented Sep 7, 2010

It has not yet been merged. Just wanted to make clear for potential others (some have asked in IRC) what issues I've already got covered.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment