« Previous | Next » 

Revision 3ad34f11

ID3ad34f1199031d76622e59263d8b3b83d2cd1eac

Added by Stavros Sachtouris over 11 years ago

Fix unicode on httplib bug

Unicode headers or url might apear as httplib request
Although httplib can usually handle the problem, it breaks when
the body has been read from a binary file because
unicode_str + binary produces a UnicodeDecodeError
Thus the url, headers, etc are forced to be simple strings

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences