Jérôme, Patch attached.
Rémi On Sat, Feb 7, 2009 at 14:11, Jerome Louvel <jerome.lou...@noelios.com>wrote: > Hi Rémi, > > It seems that those media types are widespread enough to be added in the > Restlet API. > > Would you have time to provide a patch? If not, could you create a RFE? > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > ------------------------------ > *De :* remidewi...@gmail.com [mailto:remidewi...@gmail.com] *De la part de > * Rémi Dewitte > *Envoyé :* jeudi 5 février 2009 10:32 > *À :* discuss@restlet.tigris.org > *Objet :* Re: Media types > > Pointers: > http://technet.microsoft.com/ja-jp/library/cc179224.aspx > http://framework.openoffice.org/documentation/mimetypes/mimetypes.html > > Rémi > > On Thu, Feb 5, 2009 at 10:16, Rémi Dewitte <r...@gide.net> wrote: > >> Hello, >> >> New mediatypes are static fields of my application class. >> And I declare new extension in my application constructor. >> >> What is the best place to call MediaType#register and >> MetadaService#addExtension ? >> >> At what stage do you think we should include OOo and OOXML mime types in >> the Restlet standard distribution ? I ask it because MediaType already >> includes declaration for standard microsoft types. >> >> Cheers, >> Rémi >> > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1226231
mimetypes.svndiff
Description: Binary data