开发者

httplib binary data and UnicodeDecodeError in python 2.7

开发者 https://www.devze.com 2023-03-14 23:29 出处:网络
I just discovered that starting with Python 2.7, the httplib doesn\'t work anymore with binary data, breaking modules that where sending binary data over HTTP, one example being PyAMF

I just discovered that starting with Python 2.7, the httplib doesn't work anymore with binary data, breaking modules that where sending binary data over HTTP, one example being PyAMF

  • Python bug: http://bugs.python.org/issue11898
  • PyAMF bug: http://dev.pyamf.org/ticket/823

I am looking for a solution to the current bug, preferably one that does not require me to patch P开发者_StackOverflow中文版ython. Still patching PyAMF seams as an acceptable solution.


Seems like there is a PyAmf version for python 2.7. other versions can be found here.

0

精彩评论

暂无评论...
验证码 换一张
取 消