[Tutor] Image Upload FalconFramework
Danny Yoo
dyoo at hashcollision.org
Sun Jul 13 02:01:43 CEST 2014
On Tue, Jul 1, 2014 at 8:51 PM, Peter Romfeld
<peter.romfeld.hk at gmail.com> wrote:
> Hi,
>
> I try to make a simple image upload function, in django i just used:
>
> for feature phones:
> file = request.body
>
> rest:
> file = request.FILES['image'].read()
>
> with falcon i tried but not working
> req.stream.read()
>
> Their Freenode Channel is quite empty and it seems unused, so i hope i
> could find someone here.
Hi Peter,
Apologies; it looks like none of us here on tutor at python have been
able to give you good help on this one.
It sounds like you're trying to use the Falcon framework?
(http://falconframework.org/) Unfortunately, I don't have any
experience with this framework.
Reading... It appears Falcon Framework is an implementation of the
Web Server Gateway Interface (WSGI) specificiation? If so, you might
better luck by searching for the term "wsgi file upload".
I see an example in:
https://github.com/thejimmyg/wsgi-file-upload/blob/master/upload.py
that might apply.
More information about the Tutor
mailing list