Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73875
| Date | 2014-07-03 11:54 +0800 |
|---|---|
| From | Peter Romfeld <peter.romfeld.hk@gmail.com> |
| Subject | Image Upload with FalconFramework |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11436.1404361816.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Image Upload with FalconFramework Peter Romfeld <peter.romfeld.hk@gmail.com> - 2014-07-03 11:54 +0800
csiph-web