www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Cabrera <...@toolazydogs.com>
Subject Whimsy seems to no longer return JSON data when asked
Date Sat, 26 Apr 2014 15:37:52 GMT
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 << ---------------------

View raw message