Forum: Other

Post: Suggestions: JSON response MIME type

Suggestions: JSON response MIME type
alexlzl
Feb 15, 2011
Minor suggestion: Currently the MIME type for your HTTP/JSON response is set to text/plain. It renders as plain text in the browser, which honestly is very hard to read anyway (I have to copy-paste it out in order to read).


Is it possible for you to change it to the standard application/json MIME type according to RFC? http://www.ietf.org/rfc/rfc4627.txt
In this way, I can use a Firefox add-on "JSON View" to automatically render it properly.
Should be easy to fix.
jhugg
Feb 16, 2011
I've created a ticket to get this change into v1.3. It should be pretty trivial to do.
https://issues.voltdb.com/browse/ENG-996
Done.
jhugg
Feb 21, 2011
This change has been made on the development trunk in revision 1536 and will be included in the 1.3 release if it doesn't cause any major problems.
Excellent, thanks!
MichaelGG
Mar 10, 2011
This change has been made on the development trunk in revision 1536 and will be included in the 1.3 release if it doesn't cause any major problems.


Excellent, thanks!