opendata-stuttgart / feinstaub-map

http://opendata-stuttgart.github.io/feinstaub-map/
153 stars 48 forks source link

Unset accept headers result in unspecified browser behaviour #3

Open rashfael opened 8 years ago

rashfael commented 8 years ago

We currently do not set any headers when requesting from the api. This seems to result in differing behaviour in different browsers. Chrome sends accept header "/", Firefox sends "text/html..."

Fix: Explicitly set accept headers to application/json