[web-devel] Yesod, picture uploading, storing, rendering

Michael Snoyman michael at snoyman.com
Mon Jun 27 13:53:26 CEST 2011

On Sun, Jun 26, 2011 at 1:40 PM, Anton Cheshkov <acheshkov at gmail.com> wrote:
> Hello Michael,
> i have started to deal with  file uploading and found several problems
> 1. The Yesod restricts file upload for non-small files http response
> is Status: 413 Request Entity Too Large.
>     How can change this ?


> 2. Yesod does not recognize file uploding via XHR. The runRequestBody
> function returns the empty files list.
> How to see the uploading file content ?

You likely need to change the content-type request header to reflect
multipart-form data.


More information about the web-devel mailing list