Ivan Sagalaev wrote: >With streaming to temp files it takes about a second. > Looks like I was wrong. It appears that cgi.FieldStorage stores content in temp files only when uploaded parts have Content-length set. But browser doesn't set it and FieldStorage reads data with readline() and stores it in memory anyway.
So all these disk vs. memory assumptions are irrelevant :-). Now I think if it at all makes sense to deal with temp files rather than just switch Django mime parser to FieldStorage instead of email.Message... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---