InvalidResponseError: headers must be str

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Dec 31 07:52:13 EST 2011


On Sat, 31 Dec 2011 12:04:13 +0200, Serhiy Storchaka wrote:

> 31.12.11 08:40, Steven D'Aprano написав(ла):
>> 'JSON' is already a string. Calling str() on it is a waste of time.
> 
> from __future__ import unicode_literals

Fair point. Your correction is noted.


-- 
Steven



More information about the Python-list mailing list