зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset c1f58ad695a3 (bug 1201632) for web platform test bustage ON A CLOSED TREE
This commit is contained in:
Родитель
425d7f3817
Коммит
8e23eae397
|
@ -209,7 +209,7 @@ class Response(object):
|
|||
"message": message}
|
||||
data = json.dumps({"error": err})
|
||||
self.status = code
|
||||
self.headers = [("Content-Type", "application/json"),
|
||||
self.headers = [("Content-Type", "text/json"),
|
||||
("Content-Length", len(data))]
|
||||
self.content = data
|
||||
if code == 500:
|
||||
|
|
Загрузка…
Ссылка в новой задаче