# MimeTypes in elastic search

**URL:** <https://discuss.elastic.co/t/mimetypes-in-elastic-search/13628>\
**Category:** Elasticsearch\
**Created:** [September 16, 2013, 7:33pm UTC](https://discuss.elastic.co/t/mimetypes-in-elastic-search/13628 "2013-09-16T19:33:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devendra\_Joshi](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Devendra\_Joshi](https://discuss.elastic.co/u/Devendra_Joshi)\
**Post date:** [September 16, 2013, 7:33pm UTC](https://discuss.elastic.co/t/mimetypes-in-elastic-search/13628/1 "2013-09-16T19:33:38Z")

</div>

Hi,

I have added a site plugin to my elastic search which works great. I wanted  
to return some resources from this plugin other than HTML and PDF and I  
realized that there is no way to add a mime type. Is there something I am  
missing? I wanted to add mime-type for jnlp. Editing and recompiling  
HttpServer.java works great. But is there any other way this can be  
achieved?

Thanks,  
Deven

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:16am UTC](https://discuss.elastic.co/t/mimetypes-in-elastic-search/13628/2 "2017-07-06T02:16:14Z")

</div>

Closed on July 6, 2017, 2:16am UTC


