Hi Chris,
I stored both files as managed datastreams and set them to the proper MIME
types (.doc to application/msword, .docx to
application/vnd.openxmlformats-officedocument.wordprocessingml.document). So
what you said is correct, Fedora is returning the file with the type as it
is set in the datastream. I should note that I also tried changing the MIME
type of the the .docx file to application/msword and it returned that type
correctly. The browser was also able to open the file without a problem.
Bill
On Thu, Apr 30, 2009 at 11:45 AM, Chris Wilper
<[email protected]>wrote:
> Hi Bill,
>
> On Thu, Apr 30, 2009 at 11:05 AM, Bill Branan
> <[email protected]> wrote:
> > Hi Richard,
> > I just tried this on an install from trunk. A Word document saved in
> Office
> > 2003 format (.doc) is returned with the application/msword MIME type as
> > expected. A Word document saved in Office 2007 format (.docx) is returned
> > with a MIME type
> >
> of application/vnd.openxmlformats-officedocument.wordprocessingml.document,
> > which is apparently correct
> > (
> http://blogs.msdn.com/vsofficedeveloper/pages/Office-2007-Open-XML-MIME-Types.aspx
> ).
>
> Now I'm confused. Did you not set a mime type when you put these in
> Fedora? What control group did you use?
>
> - 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