[Haskell-cafe] Happstack: moving the uploaded file
Nikita Karetnikov
nikita at karetnikov.org
Tue Jun 3 18:05:08 UTC 2014
> I have created a modified version that probably does what you want.
Thanks, but it fails when a user tries to access ‘/view’ before
uploading a file. Also, I want the file to be available only at
‘/view’. I’ve attached a version that’s based on yours, can it be
further improved? For instance, is there a need for ‘seeOther’?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileUpload-even-more-correct.hs
Type: text/x-haskell
Size: 2350 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140603/a0e65a96/attachment.hs>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140603/a0e65a96/attachment.sig>
More information about the Haskell-Cafe
mailing list