sixohsix/twitter — pull request #74 by gchandrasa (2012-07-04 04:57:39+00:00)
Title: Bug fix for profile image API

This resource does not return JSON or XML, but instead returns a 302 redirect to the actual image resource.

Without proper handling, this result :

15 def decode(input, errors='strict'):
---> 16 return codecs.utf_8_decode(input, errors, True)
17
18 class IncrementalEncoder(codecs.IncrementalEncoder):

UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte