Closed
Bug 615191
Opened 14 years ago
Closed 14 years ago
Multipart form upload should add content-length for binary data
Categories
(Firefox :: General, enhancement)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 236084
People
(Reporter: dothebart, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)
when posting of the type multipart/form-data the general mime-header for content-length is set, but inside of the posted mime document none is set.
In case of file upload setting the content-length for that sub-mime container would ease server side parsing.
Reproducible: Always
Steps to Reproduce:
1.sniff your http connection using wireshark/tcpdump
2.choose some web application where you can upload binary data with some text in other parts of a form
3.press upload
Actual Results:
content-length header is set for the total post-document, but for none of the sub-mimecontainers; thats not bad for three lines of text, but to search Megabytes of Zipped data for the next mime-boundary wastes precious server cpu time.
Expected Results:
content-length headers should be set for binary parts of a multipart form upload; firefox can stat() the file to get the size while creating the mime container.
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•