News for hackers. Stuff that matters.
Re:Common problems with large file uploads by ars on Wednesday July 18, 2012 @05:28PM (#4263089)
For the HTTP/2.0 discussion there was here earlier:

A way to continue an interrupted file upload.

Because POST variable are sent in order, if you put the file first and the other variables after, the server never sees them if the file was interrupted. So when I code a form I always put the hidden ones first so at least I can give a useful error message (since I know what the user was trying to do).

It would be better to decouple them and upload the files and the rest of the variables separately.

There are no comments on this comment yet.