#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]>):
Replying to [comment:147 anonymous]:
> >>> def __init__(self, headers, input, request, file_upload_dir=None,
streaming_min_post_size=None, chunk_size=1024*64):
>
> >>> parser = MultiPartParser(headers, input, request, file_upload_dir,
streaming_min_post_size)
>
> Is chunk_size is configurable? Do you hard code, aren't you.
>
> Thank
Actually, that's a great point. I am going to change a few things (shift
around {{{save_FIELD_file}}} and {{{move_FIELD_file}}} to make things more
explicit) and on my list for the next upload would be to allow chunk sizes
to be a settings variable. (I was actually discussing this with Øyvind in
IRC, http://simon.bofh.ms/logger/django/2007/05/26/15/25 .)
Thanks for the comment, though. Feel free to post any other suggestions!
--
Ticket URL: <http://code.djangoproject.com/ticket/2070#comment:148>
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
-~----------~----~----~----~------~----~------~--~---