resume upload wsgi script

gert gert.cuykens at
Mon Aug 10 18:41:19 CEST 2009

On Aug 10, 10:39 am, "Diez B. Roggisch" <de... at> wrote:
> > 250KB :)
> So why do you bother?
> > Its just HTTP1.1 has everything for making ftp like file transfers
> > possible.
> > When I write it to a file then I am back at square one because I still
> > need to load it completely to get it into a blob.
> Well, the blob is nothing but datat in the file-system. If you are
> *really* concerned about that, then don't use the db, but use the
> filesystem, appending to the file until it's finished - and storing a
> reference to it to the DB. We do that as well, because otherwise the db
> will become unmanagable anyway (dumping, backups).

I also hate debugging sql that contains blob data. So if using files
how do you clean the http post stuff?
(b+r'.*?Content-Type: application/octet-stream\r\n\r\n(.*?)\r
using as litlle memory as possible ?
I can not use PUT upload only because flash does not support PUT.

More information about the Python-list mailing list