wsme/ews/restjson.py
2011-09-18 21:37:40 +02:00

8 lines
194 B
Python

class RestJsonProtocol(RestProtocol):
name = 'REST+Json'
dataformat = 'json'
content_types = [None, 'application/json', 'text/json']
controller.register_protocol(RestJsonProtocol)