List Info

Thread: Content-Type headers




Content-Type headers
user name
2006-12-04 19:05:06
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.

-Mikeal


 
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/
 
Content-Type headers
user name
2006-12-04 19:17:43
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/
 
online debugger - now with visual editor
user name
2006-12-14 17:29:50
I have developed a graphical editor&nbsp;of json / xmlrpc values. It is 100% javascript, based on the yui library (and on a work-in-progress port of the phpxmlrpc lib to javascript).
 
For anybody interested, you can find it here:
 
 
It is part of the xmlrpc/jsonrpc debugger:
 
Bye
Gaetano Giunta 
 ;
ps: sorry for the shameless self promotion ;)
__._,_.___ __,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )