RDF buglist with "inline" content disposition but also "filename" parameter gets downloaded

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
14 years ago
14 years ago

People

(Reporter: u115577, Assigned: justdave)

Tracking

1.0 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Set the appropriate MIME type for RDF - application/xml

Reproducible: Always

Steps to Reproduce:
1. Click URL link above

Actual Results:  
RDF file is downloaded.

Expected Results:  
RDF file should be displayed in browser window.
Actually, the correct content-type is application/rdf+xml, which is exactly what
we're using.  Download behavior, however, would be controlled by the
content-disposition header, which may possibly have problems.  In fact, I think
this was just recently fixed in Bugzilla...

I will double-check.

Comment 2

14 years ago
You should use a trunk build : they support application/rdf+xml media type since
Mozilla 1.8a3 (see bug 61839)
Bugzilla includes the correct content disposition header:

Content-disposition:	inline; filename=bugs-2005-02-03.rdf

Mozilla MailNews has bug 229075 where the presence of the "filename" parameter
causes the message part to be treated as an attachment rather than displayed
inline.  Firefox 1.0 may use the same code for handling the content disposition
header and thus be subject to the same problem, but the latest nightly doesn't
exhibit it, so the problem appears to have been fixed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Component: Bugzilla: Other b.m.o Issues → Networking: HTTP
Product: mozilla.org → Core
Resolution: --- → WORKSFORME
Summary: RDF buglist should not be downloaded → RDF buglist with "inline" content disposition but also "filename" parameter gets downloaded
Version: other → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.