in reply to Solved: Dancer::send_file doesn't work with POST? ( Angular JS hijacks the response)
Even the Dancer documentation shows as an example a GET request/handler for send_file, so I would assume that it works. But the documentation also lists some prerequisites like the file living below the public directory etc.
Maybe you can show us a small example of how send_file fails for you?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dancer::send_file only for POST?
by 1nickt (Canon) on Nov 11, 2015 at 13:44 UTC | |
by Corion (Patriarch) on Nov 11, 2015 at 14:03 UTC | |
by 1nickt (Canon) on Nov 11, 2015 at 14:24 UTC | |
by Corion (Patriarch) on Nov 11, 2015 at 14:34 UTC | |
by 1nickt (Canon) on Nov 11, 2015 at 15:02 UTC |