Encode both keys and values for incoming unicode data as UTF-8, coincidentally fixing...
authorJohannes Gorset <jgorset@gmail.com>
Thu, 12 May 2011 08:16:21 +0000 (10:16 +0200)
committerJohannes Gorset <jgorset@gmail.com>
Thu, 12 May 2011 08:27:41 +0000 (10:27 +0200)
commit23ee58d6ec47a06358008cb7a4ab4f9556edc285
treea562c208f37d37cd28a52d0dc8d2208542db7d28
parent59dd3ed4596809a56d5103b45a20f61c18d72e77
Encode both keys and values for incoming unicode data as UTF-8, coincidentally fixing a bug that caused UTF-8 encoded byte strings to be encoded twice and causing an UnicodeDecodeError.
requests/core.py
test_requests.py