[JIRA] Commented: (COMETD-32) Consider changing MIME type of JSON transport from text/json charset=utf8 to application/json as per RFC4627

1 view
Skip to first unread message

Greg Wilkins (JIRA)

unread,
Nov 18, 2009, 5:11:00 AM11/18/09
to comet...@googlegroups.com

[ http://bugs.cometd.org/browse/COMETD-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10063#action_10063 ]

Greg Wilkins commented on COMETD-32:
------------------------------------

this probably should be done, but can wait to after 1.0

> Consider changing MIME type of JSON transport from text/json charset=utf8 to application/json as per RFC4627
> ------------------------------------------------------------------------------------------------------------
>
> Key: COMETD-32
> URL: http://bugs.cometd.org/browse/COMETD-32
> Project: Cometd
> Issue Type: Task
> Components: java-server
> Reporter: Jan Bartel
> Priority: Minor
>
> http://www.ietf.org/rfc/rfc4627.txt states that the mime type for JSON should be "application/json", but the jetty cometd impl uses "text/json".

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://bugs.cometd.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Simone Bordet (JIRA)

unread,
Nov 18, 2009, 7:37:57 AM11/18/09
to comet...@googlegroups.com

[ http://bugs.cometd.org/browse/COMETD-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet resolved COMETD-32.
---------------------------------

Fix Version/s: 1.0.0rc1
Resolution: Fixed
Assignee: Simone Bordet

Fixed specyfing content type as "application/json".

> Consider changing MIME type of JSON transport from text/json charset=utf8 to application/json as per RFC4627
> ------------------------------------------------------------------------------------------------------------
>
> Key: COMETD-32
> URL: http://bugs.cometd.org/browse/COMETD-32
> Project: Cometd
> Issue Type: Task
> Components: java-server
> Reporter: Jan Bartel
> Assignee: Simone Bordet
> Priority: Minor
> Fix For: 1.0.0rc1
Reply all
Reply to author
Forward
0 new messages