mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision b7ee88243f64e6c7f2d00c163bd3bc501e4db7ef
This commit is contained in:
parent
804b4b3db6
commit
a4b4c8e015
134 changed files with 2918 additions and 388 deletions
|
@ -39,8 +39,8 @@ class Response(object):
|
|||
try:
|
||||
body = json.load(http_response, cls=decoder, **kwargs)
|
||||
except ValueError:
|
||||
raise ValueError("Failed to decode response body as JSON:\n"
|
||||
"%s" % json.dumps(body, indent=2))
|
||||
raise ValueError("Failed to decode response body as JSON:\n" +
|
||||
http_response.read())
|
||||
|
||||
return cls(http_response.status, body)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue