Closed stephanlindauer closed 6 years ago
moved over from https://github.com/criticalmaps/criticalmaps-web/issues/1
The JSON response from the API does not return the correct content type:
$ curl -s -D - http://api.criticalmaps.net/twitter/get.php HTTP/1.1 200 OK Date: Sun, 04 Oct 2015 22:27:23 GMT Server: Apache X-Powered-By: PHP/5.4.44 Transfer-Encoding: chunked Content-Type: text/html
It should be Content-Type: application/json;charset=utf-8 instead.
Content-Type: application/json;charset=utf-8
curl -I -s https://api.criticalmaps.net/twitter/ | grep Content-Type Content-Type: application/json; charset=utf-8
-> done
moved over from https://github.com/criticalmaps/criticalmaps-web/issues/1
The JSON response from the API does not return the correct content type:
It should be
Content-Type: application/json;charset=utf-8
instead.