Merge pull request #1242 from abeloin/patch-json

Remove an extra apostrophe from content-type.
This commit is contained in:
echel0n 2015-01-29 14:52:04 -08:00
commit 843f2d8d4b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class ApiHandler(RequestHandler):
except:pass
def _out_as_json(self, dict):
self.set_header("Content-Type", "application/json;charset=UTF-8'")
self.set_header("Content-Type", "application/json;charset=UTF-8")
try:
out = json.dumps(dict, indent=self.intent, ensure_ascii=False, sort_keys=True)
callback = self.get_query_argument('callback', None) or self.get_query_argument('jsonp', None)