title: What MIME type should I use for JavaScript source-map files?
body: <p>I want to add <a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">source maps</a> to my site, but I'd like to exercise some control over how they're served. What is an appropriate MIME type to use for them?</p>
  
  <h3>Some data</h3>
  
  <ul>
  <li>The content itself is JavaScript, but not meant to be executed as such.</li>
  <li>CDN.js serves <code>http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.map</code> with <code>Content-Type: application/octet-stream</code>.</li>
  <li>Google serves <code>http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.map</code> with <code>Content-Type: application/json</code></li>
  <li>The Source Maps spec states that maps should begin with <code>)]}</code> to prevent them from being evaluated as actual JavaScript (and thus exposing cross-site scripting attacks). That makes the file invalid JSON and valid, but un-runnable JavaScript.</li>
  </ul>