I am serving WOFF (Web Open Font Format) files with Play. The mimetype for .woff files is not included in the defaults for Play so it responds with a content-type of "application/octet-stream".
I tried to specify a custom mimetype in the application.conf like the following, but it doesn't seem to have any effect:
mimetype.woff="application/font-woff"
I tried clean/compile, reload, etc. Anyone know what I'm doing wrong?
And as an aside, to find out this was possible I had to crack open the Play code. This should probably be documented as it is a common need when serving static resources.
Thanks for any help!
Mark