Hi Richard,

On Thu, Apr 30, 2009 at 9:29 AM, Richard Green <[email protected]> wrote:
> We seem to have stumbled across a curious problem in Fedora 3.1 (as compared
> with 2.2.4).  If you have an MS Word file in a Fedora 2.2.4 datastream (not
> something we encourage, but we have some!) and download it onto a Windows
> machine the header type is application/msword and software recognises the
> file for what it is.  The same file from a 3.1 installation comes down as
> application/vnd.ms-word which browsers and software don’t seem inclined to
> deal with.  This seems to be nothing to do with the MIME type set on the
> datastream itself (application/msword in both cases).  Is there a ‘fix’ for
> this out there please?  Was there a reason for this apparent change?

I know you say it has nothing to do with the MIME type set on the
datastream, but if you're talking about delivering a "managed"
datastream from Fedora (e.g. http://host/fedora/get/example:1/DSID),
that's the only place it comes from.

The Fedora server doesn't have it's own mime type database or anything
-- it just uses what it's given. In the case of managed (or inline
xml) datastream requests, this comes from the value set on the
datastream itself.  In the case of external datastreams (control group
E) or other dissemination requests, the value Fedora delivers is
whatever comes from the server delivering the content.

- Chris

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to