You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-dev@apache.org by Alan Cabrera <ad...@toolazydogs.com> on 2014/04/26 17:37:52 UTC

Whimsy seems to no longer return JSON data when asked

Here's some sample output from my unit tests:

ValueError: No JSON object could be decoded
-------------------- >> begin captured logging << --------------------
restkit.client: DEBUG: Start to perform request: whimsy.apache.org GET /roster/committer/jim
restkit.client: DEBUG: Send headers: ['GET /roster/committer/jim HTTP/1.1\r\n', 'Host: whimsy.apache.org\r\n', 'User-Agent: restkit/4.2.2\r\n', 'Accept-Encoding: identity\r\n', 'Accept: application/json\r\n', 'Authorization: Basic XXXXXXXXXXXXXXXXX==\r\n']
restkit.client: DEBUG: Start to parse response
restkit.client: DEBUG: Got response: (1, 1) 200 OK
restkit.client: DEBUG: headers: [IOrderedDict([('Date', 'Sat, 26 Apr 2014 15:35:07 GMT'), ('Server', 'Apache/2.2.22 (Ubuntu)'), ('ETag', '"645b61efb29d93c1bb2237712e019c90"'), ('X-XSS-Protection', '1; mode=block'), ('X-Content-Type-Options', 'nosniff'), ('X-Frame-Options', 'SAMEORIGIN'), ('Vary', 'Accept-Encoding'), ('X-Powered-By', 'Phusion Passenger 4.0.29'), ('Content-Length', '360072'), ('Status', '200 OK'), ('Content-Type', 'text/html;charset=utf-8')])]
restkit.client: DEBUG: return response class
--------------------- >> end captured logging << ---------------------