[ 
https://issues.apache.org/jira/browse/OFBIZ-6608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Andreyev updated OFBIZ-6608:
---------------------------------
    Attachment: x-json.diff

> Using official content type for json requests
> ---------------------------------------------
>
>                 Key: OFBIZ-6608
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6608
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Oleg Andreyev
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: x-json.diff
>
>
> I suggest using application/json instead of application/x-json as it is 
> official content type. It seems x-json does not cause any problem for the 
> time being but browsers will load json responses correctly without asking for 
> download. It's handy in development time. It also matches JQuery Accept 
> header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to