hexparrot/mineos — pull request #43 by martianrock (2014-02-20 04:16:41+00:00)
Title: added json mimetype to output, otherwise apache mod_proxy_html gets conf...

I am trying to put mineos behind apache reverse proxy, it messes up json object by adding <html><p> tags around them because it thinks they are text/html and that breaks all javascript magic. Sending them as application/json forces proxy to pass them as is, making mineos work behind apache reverse proxy