Dear all and dear SmalltalkHub devs I read a bit through the Hub code and found, that all JSON is sent with a mimetype of text/json. Why is that? AFAIK the standard mime type of JSON would be application/json [1]. Best -Tobias [1]: http://stackoverflow.com/questions/477816/what-is-the-correct-json-content-t...
Yes, ZnMimeType applicationJson would be better, but does it make a fundamental difference ? On 03 Jul 2014, at 16:43, Tobias Pape <Das.Linux@gmx.de> wrote:
Dear all and dear SmalltalkHub devs
I read a bit through the Hub code and found, that all JSON is sent with a mimetype of text/json. Why is that? AFAIK the standard mime type of JSON would be application/json [1].
Best -Tobias
[1]: http://stackoverflow.com/questions/477816/what-is-the-correct-json-content-t...
On 03.07.2014, at 16:50, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Yes,
ZnMimeType applicationJson
would be better, but does it make a fundamental difference ?
A bit, for example, Chrome renders text/* as plain text in its dev-tools (preview pane), but application/json as a kind-of tree. But apart from that, it is just about standard adherence. Best -Tobias
Hmmm, right. I don't know why :) I'll change that. Nico Tobias Pape <Das.Linux@gmx.de> writes:
Dear all and dear SmalltalkHub devs
I read a bit through the Hub code and found, that all JSON is sent with a mimetype of text/json. Why is that? AFAIK the standard mime type of JSON would be application/json [1].
Best -Tobias
[1]: http://stackoverflow.com/questions/477816/what-is-the-correct-json-content-t...
-- Nicolas Petton http://nicolas-petton.fr
participants (3)
-
Nicolas Petton -
Sven Van Caekenberghe -
Tobias Pape