#2070: [patch] Large streaming uploads
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  adrian  
     Type:  defect                    |       Status:  reopened
 Priority:  normal                    |    Milestone:          
Component:  Core framework            |      Version:          
 Severity:  normal                    |   Resolution:          
 Keywords:                            |  
--------------------------------------+-------------------------------------
Comment (by [530]):

 Detailed description of patch.
 
 Based of the #1448 patch that i experienced trouble with using edit inline
 and large files.
 
 Changes from trunk:
  * Added STREAMING_UPLOADS=False to global_settings
  * Added parse_streaming_file_upload it http/!__init!__.py
  * Made changes to modpython and wsgi in handlers to use
 parse_streaming_file_upload
  * Subclassed cgi.!FieldStorage
    * overriding of make_file to use !NamedTemporaryFile
    * overriding of bouandry parsers to make readline read in 64k chunks to
 avoid reading extremely long lines into memory
  * Subclassed rfc822.Message
    * overriding of bouandry parsers to make readline read in 64k chunks to
 avoid reading extremely  long lines into memory
  * Made !FileField validate upload using tempfile size
  * Made save_file in db/models/fields/!__init!__.py pass temporary file
 name to _save_FIELD_file instead of file contents
  * Made _save_FIELD_file copy temporary file instead of write file from
 memory

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2070>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to