Image Upload with FalconFramework

Peter Romfeld peter.romfeld.hk at gmail.com
Thu Jul 3 05:54:41 CEST 2014


Hi,

I am stuck at a simple image upload function, in django i just used:

for feature phones:
file = request.body

iOS with Form:
class ImageForm(forms.Form):
    image = forms.FileField() 
form = ImageForm(request.POST, request.FILES)
file = request.FILES['image'].read()

with falcon i tried but not working;
req.stream.read()


Cheers,
Peter




More information about the Python-list mailing list