Closed Bug 367484 Opened 18 years ago Closed 18 years ago

Wrong content type reported on binary-file HTTP upload

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: henrik, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.1) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Firefox reports wrong content-type "application/octect-stream" when submitting a binary file (a Microsoft Excel file) through multipart/form-data form to Java servlet. Internet Exploiter reports correct content-type: "application/octet-stream". Java servlet is written with Wicket framework (http://wicket.sf.net). Reproducible: Always Steps to Reproduce: 1. create multipart/form-data form and Java servlet to receive upload file. 2. select binary Microsoft Excel file in form and upload to servlet. Actual Results: Content-type "application/octect-stream" reported to servlet by browser is incorrect (has spelling error). Expected Results: Content-type of upload file should be reported as: "application/octet-stream"
Did you add a helper application for "application/octect-stream" in Firefox ? The Form post is written via HTLM Form or also through a Java applet ?
no response
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.