[
https://issues.apache.org/jira/browse/SHINDIG-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681123#action_12681123
]
Evan Gilbert commented on SHINDIG-971:
--------------------------------------
Wondering how people would feel about returning application/javascript instead
of application/json?
I've rarely seen application/json used, probably because debugging is very
difficult with application/json as most browsers treat the content as a binary
file and try to download it.
Application/javascript will also work with JSONP when we enable it.
> JsonRpcServlet should set content type to json in all cases, including gets
> and error cases.
> ---------------------------------------------------------------------------------------------
>
> Key: SHINDIG-971
> URL: https://issues.apache.org/jira/browse/SHINDIG-971
> Project: Shindig
> Issue Type: Bug
> Reporter: Bob Evans
> Attachments: fix-971-bug.patch
>
>
> Currently, the JsonRpcServlet only sets the content type in the case of a
> properly formed post request. It should also do it in the sendError case, and
> in the GET request method case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.