fiorix/cyclone — Issue #32: JSON Content-Type
Author: twm
Created: 2011-11-28 19:59:44+00:00
State: open

The [RequestHandler.write()](https://github.com/fiorix/cyclone/blob/master/cyclone/web.py#L330) method sets the Content-Type header to "text/javascript; charset=UTF-8" when JSONifying a dictionary. This should be "application/json" per [RFC 4627](http://www.ietf.org/rfc/rfc4627).