28 Dec
2008
28 Dec
'08
12:40 p.m.
Paul Libbrecht wrote:
Hello XWiki developers,
can someone explain me what is the strategy to define the mime-type of an attachment? I see not configurable map nor any setter on the attachment types. Is there any way I can enrich this or is it simply taking over the mime-type provided the browser (which, too often, ends up being application/octet-stream) ?
In web.xml. Search for css, and do something similar for your mimetypes. Of course, restart the server afterwards. -- Sergiu Dumitriu http://purl.org/net/sergiu/