saiko-chriskun/jquery-upchunk — pull request #7 by AlexeyUzhva (2012-09-15 04:00:55+00:00)
Title: Headers setting, direct file upload order

added "Headers" setting allowing interacting with Django backend and set custom headers (same as in jquery-filedrop):

headers:
'X-Requested-With': 'XMLHttpRequest' # Let Django show errors in AJAX-friendly manner
'X-CSRFToken': window.getCookie('csrftoken') # Django CSRF protection

- use .shift() instead of .pop() on queues to let files upload in direct order