nathanwblair / im-only-resting

Automatically exported from code.google.com/p/im-only-resting
Apache License 2.0
1 stars 0 forks source link

Attempt to pretty print response data with text/javascript content-type header as json #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some APIs incorrectly use text/javascript as the content-type for JSON content 
(application/json is the only valid JSON mime type), but we should be flexible 
and attempt to pretty print such content as JSON (and fail silently if the 
content is not in fact JSON).

Original issue reported on code.google.com by stephen....@gmail.com on 11 Mar 2013 at 10:14

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 12 Mar 2013 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 16 Mar 2013 at 12:45