Backed out changeset c1f58ad695a3 (bug 1201632) for web platform test bustage ON A CLOSED TREE
authorNigel Babu <nigelbabu@gmail.com>
Thu, 10 Sep 2015 14:10:03 +0530
changeset 294358 90f84f2af43ec3d1b63ca1aec8ad84b3368dc5f2
parent 294357 63f9f2c908303da13f2ab8f19c35d7010ed31a58
child 294359 5b73f3910cdd7e63c3fde8ac491691d61cb78883
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1201632
milestone43.0a1
backs outc1f58ad695a35d486078e30bbb362f999bb26366
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset c1f58ad695a3 (bug 1201632) for web platform test bustage ON A CLOSED TREE
testing/web-platform/tests/tools/wptserve/wptserve/response.py
--- a/testing/web-platform/tests/tools/wptserve/wptserve/response.py
+++ b/testing/web-platform/tests/tools/wptserve/wptserve/response.py
@@ -204,17 +204,17 @@ class Response(object):
 
     def set_error(self, code, message=""):
         """Set the response status headers and body to indicate an
         error"""
         err = {"code": code,
                "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:
             self.logger.error(message)
 
 
 class MultipartContent(object):
     def __init__(self, boundary=None, default_content_type=None):