On Tuesday 11 August 2009 15:30, Clayton wrote: > Nino Novak wrote: > > On Tuesday 11 August 2009 14:17, Clayton wrote: > >> This is what I added: > >> ... > >> application/vnd.oasis.opendocument.text > > > > Don't you have to add the file extension too? > > > > From the Wiki I still get the > > Content-Type: text/plain > > header when trying to download e.g. the ODT from > > File:DevelopersGuide_OOo3.1.0_04Extensions.odt > > > > BTW, other document types then .text I did not find in the wiki. > > OK, try again... I changed the MIME types to look like this:
Yep, now I get with the same file the header Content-Type: application/vnd.oasis.opendocument.text :-) > I've tested here a little, and it seems to be working OK with a few > browsers I've tested. As my browser's file handling does not depend on the mime header sent by Apache, I can't test it here, sorry. But at least the content-type header is correct now. Nino --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org For additional commands, e-mail: dev-h...@website.openoffice.org