Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

set correct mime type for json queries #331

Open
wants to merge 1 commit into
base: kibana-ruby
Choose a base branch
from

Conversation

Flupsy
Copy link

@Flupsy Flupsy commented Apr 3, 2013

For reasons I won't bore you with, I'm double-proxying my Kibana installation and using mod_proxy_html to do some rewrites. This was messing up the JSON from Kibana because the MIME type was coming back as text/html. I've set the type explicitly, which has the side-effect of simplifying ajax.js ever-so-slightly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant