Re: upload and receive
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <20100125160018.1898.1097305600.divmod.xquotient.600@localhost.localdomain> |
On 03:40 pm, [email protected] wrote: >Hi, >Currently I'm using twisted.web api for my http server. >If I have to implement a file upload from client, is it possible to >receive a file at server end using twisted.web? or should I move to >twisted.web2? Sure. See the "content" attribute of the request object. You don't need to, and should not, switch to twisted.web2. http://jcalderone.livejournal.com/49707.html doesn't cover file uploads, but it does go over some of the other things you need to do to handle POSTs, which you'll probably be interested in. Jean-Paul