Closed Bug 724576 Opened 14 years ago Closed 10 years ago

firefox gives error when downloading an attachment with content-length specified in the HTTP header

Categories

(Firefox :: Untriaged, defect)

10 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: gregorio, Unassigned)

Details

(Whiteboard: [bugday-20131111])

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0 Build ID: 20120129021758 Steps to reproduce: Working with a site built in .NET, I've found that a page started to give me errors. The page is simply a generic .NET handler, that creates a PDF file and attaches it to the response. Technically, the file stream is written in the response, and the following headers are set: content-length, with the length of the file; content-disposition, with "attachment;filename=myfilename.pdf"; content-type: application/x-msdownload. Actual results: Firefox is giving me the following error: Damaged content. It starts to work again if I delete the content-length information from the headers. Expected results: The PDF file should have been downloaded.
Please provide the full headers of the link. - You can http://web-sniffer.net if the URL is accessible from the internet.
Reporter, can you reproduce this with a recent Firefox version?
Flags: needinfo?(gregorio)
Whiteboard: [bugday-20131111]
Since the reporter didn't provide the requested information, I will mark this issue as RESOLVED INCOMPLETE. If you still encounter this problem, please feel free to reopen this bug, or file a new one.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(gregorio)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.