Mikeal Rogers wrote:
> This is a very simple question, what are the proper
content-type
> headers for json-rpc requests and responses over HTTP.
>
> The python implementation seems to use 'text/plain' but
I assuming
> that at the very least 'text/x-json' should be used.
>
>
Since JSON-RPC is JSON, the correct content-type should be
'application/json'. (http://www.ietf.o
rg/rfc/rfc4627.txt)
In practice, it does not matter too much if the client and
server either
ignore the content-type or agree when it is important.
-Jim Washington
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups
.yahoo.com/group/json-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://gr
oups.yahoo.com/group/json-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:json-rpc-digest@yahoogroups.com
mailto:json-rpc-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
json-rpc-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|