ohmage / server

The ohmage server application.
37 stars 25 forks source link

Content type header #839

Closed jeroen closed 9 years ago

jeroen commented 9 years ago

A successful survey_response/read calls with format=json-rows or format=json-columns returns a response header Content-Type: text/html, even though every other call correctly returns Content-Type: application/json. This causes jQuery and other clients not to parse the response as JSON.