Closed
Bug 59242
Opened 24 years ago
Closed 23 years ago
file upload form post should use cont-disposition to convey time info
Categories
(Core :: Layout: Form Controls, enhancement, P3)
Core
Layout: Form Controls
Tracking
()
mozilla0.9.1
People
(Reporter: havill, Assigned: pollmann)
Details
Attachments
(1 file)
Content-Disposition allows for the "modification-date" and "creation-date" to be passed, to allow the host to be able to more faithfully recreate an uploaded file (for example, a HTML FORM interface where FTP or HTTP PUT is not possible). And by passing the size in the header, server side software can abort a POST early if it knows the file size is too large and saving the user from finding out near the end. There is the total Content-Length, but this doesn't reflect the possible allowed size of one file. As for backwards compatibility and standards, naiive parsers that relied on a fixed format may fail with this method, although with careful placement of the date fields (after the fields present in Nav 4.x for parsers that do a simple LEFT$() filter) the risk can be minimized. On the other hand, these server scripts were bound to break with other browsers.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 5•23 years ago
|
||
bug 44462 has a patch which does this, and is more generic to solving/implementing the remaining multipart/form-data standards support. *** This bug has been marked as a duplicate of 44462 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 6•23 years ago
|
||
Shoot! Typo! This bug with the solution to this is bug 44464, not bug 4446_2_.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Comment 7•23 years ago
|
||
Sorry for the spam... *** This bug has been marked as a duplicate of 44464 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•