mbostock/d3 — Issue #412: d3.json does request using incorrect ACCEPT header
Author: alangrafu
Created: 2011-12-16 07:04:37+00:00
State: open

In Chrome, d3.js sends an ACCEPT header '*/*'
In Firefox, d3.js sends an ACCEPT header 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'

This affects applications that serves data in formats depending on the Accept header. D3 should include at least 'application/json' and eventually add other contents types (with a smaller q value)