Typically when a JSON object is being returned it should be set as
"Content-Type: application/json" and not set to text/plain as some client code
may flag it as an error even though one can still read it.
('HTTP/1.0 200 OK\r\nDate: Sat, 13 Jun 2015 23:00:34 GMT\r\nContent-Length:
121\r\nContent-Type: text/plain; charset=utf-8\r\n\r\n', {u'status':
u'Success', u'status_code': 200, u'type': u'sync', u'metadata': {u'status':
u'STOPPED', u'status_code': 1, u'init': 0, u'ips': None}})
http://www.iana.org/assignments/media-types/media-types.xhtml_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users