Re: Separate file stream from request input stream during file uploading

2012-08-10 Thread Karen Tracey
This question was answered on the django-users list where it was also
posted. Please do not cross-post to both lists. The right list for usage
questions like this is django-users.

Karen

-- 
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 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.



Separate file stream from request input stream during file uploading

2012-08-10 Thread 春燕 李
As you know, Django can process file uploading with its own
uploadhandler. But all the request data is processed as stream, and
mod_wsgi provides a way to read the stream,  what you can do is just
read the stream sequentially, which means that you cannot separate
file stream from the request input stream. When you  upload file ,
it
won't response immediately , you have to wait till file uploading has
completed.

Is there  any way  to separate file stream from request input stream,
so I can  process and save the file independently  to avoid long time
waiting during file uploading?

-- 
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 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.