[web-devel] proxy with wai

Jos van den Oever jos at vandenoever.info
Fri Mar 27 08:01:44 UTC 2015


On Friday 27 March 2015 05:03:18 Michael Snoyman wrote:
> Can you provide:
> 
> * A complete file
> * The error messages you're getting

Of course.

=====================
No instance for (MonadResource IO)
  arising from a use of `fileSaver'
In the second argument of `(C.=$=)', namely `fileSaver'
In the expression: bodySource C.=$= fileSaver
In an equation for `source2': source2 = bodySource C.=$= fileSaver
	HttpWrite.hs	/proxy/src	line 35	Haskell Problem
=====================

I know that I should somehow put some of the code a runResourceT, but I cannot 
figure out how to combine it with Wai.Application.

Cheers,
Jos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpWrite.hs
Type: text/x-haskell
Size: 2204 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/web-devel/attachments/20150327/473983a9/attachment.hs>


More information about the web-devel mailing list