And the headers were ok - they were identical to the psgi-version.
The problem (as I mentioned in another post) seems to be that while a plain psgi-app returns happily whatever you give it, Dancer seems to be a little cleverer which in this case gets in my way.
I need to explicitly decode the string as utf-8 to keep Dancer from encoding it again then it works.
I would be very interesting to learn if this is the proper way to do this though...
In reply to Re^2: serving a zip file with Dancer2
by morgon
in thread serving a zip file with Dancer2
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |