Ticket #4990: httpresponse-unicode.diff

File httpresponse-unicode.diff, 413 bytes (added by Thomas Güttler <hv@…>, 9 years ago)
  • __init__.py

     
    234234            for key, value in self.headers.items()]) \
    235235            + '\n\n' + self.content
    236236
     237    def __unicode__(self):
     238        return self.__str__()
     239   
    237240    def __setitem__(self, header, value):
    238241        self.headers[header] = value
    239242
Back to Top