#2070: Large streaming uploads
----------------------------------------+-----------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  jacob         
     Status:  assigned                  |            Component:  Core framework
    Version:  SVN                       |           Resolution:                
   Keywords:  streaming, upload, large  |                Stage:  Accepted      
  Has_patch:  1                         |           Needs_docs:  0             
Needs_tests:  0                         |   Needs_better_patch:  1             
----------------------------------------+-----------------------------------
Comment (by Michael Axiak <[EMAIL PROTECTED]>):

 I should also explain the rationale for the naming of the files:
 
 We use the {{{X-Progress-ID}}} value for the name of the file that stores
 the progress because in subsequent requests we're going to need to get the
 file by that same value.
 
 We use a (python) temporary file name for the actual file that's being
 uploaded because it guarantees uniqueness. Since {{{X-Progress-ID}}} is
 provided by the client, we can't guarantee someone won't start auto-
 generating requests and cause a collision on the files themselves. I have
 thought of putting the {{{X-Progress-ID}}} in the session. This can be
 done but it relies on the session app -- which is not a prereq for Django
 to work --  being activated and file uploading is a core feature.
 
 It doesn't seem like too much of an issue if the progress tracking has a
 small chance of getting munged. The actual files, OTOH, would be a bit
 worrisome.
 
 That being said, if you ''really'' don't like the naming, and have a
 better suggestion, by all means suggest it.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2070#comment:130>
Django Code <http://code.djangoproject.com/>
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to