title: How can I process JSON data in JQuery, that's being returned with a header type of "text/html"?
body: <p>I'm trying to use the jquery, <code>getJSON</code> method to get JSON data from a public API.  I keep getting the following errors when the callback of my <code>getJSON</code> request executes.</p>
  <blockquote>
  <p><strong>Warning:</strong> Resource interpreted as Script but transferred with MIME type text/html</p>
  <p><strong>Error:</strong> Uncaught SyntaxError: Unexpected token :</p>
  </blockquote>
  <p>I've inspected the header of the response and, sure enough, it is set to <code>text\html</code>.  Since this is a public API that I can't control, how can I easily request and parse this JSON data?</p>
  <p>For reference, the link below is the link to the JSON data that I am trying to acquire.</p>
  <p>JSON Request (<a href="http://bitcoincharts.com/t/weighted_prices.json" rel="nofollow noreferrer">http://bitcoincharts.com/t/weighted_prices.json</a>)</p>