Re: file upload with twisted
Glyph <[email protected]> Fri, 4 Jan 2013 20:14:51 -0800
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
On Jan 4, 2013, at 5:50 PM, Levi Nie <[email protected]> wrote: > When i send a http request with a big file, can i check the content-length then enable or disable the > file upload? > > I use the s3cmd client sent the request. And i need disable the file upload if the file size is over the quota. > > how can i do this? This s3cmd? https://github.com/s3tools/s3cmd/blob/master/s3cmd It doesn't look like it uses Twisted, so I don't think this is a question for this list.