开发者

httplib binary data and UnicodeDecodeError in python 2.7

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜