推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
guyskk
V2EX  ›  Python

奇怪的 bug

  •  
  •   guyskk ·
    guyskk · Apr 15, 2016 · 3639 views
  •   You need to sign in to view this topic
    This topic created in 3861 days ago, the information mentioned may be changed or developed.

    https://github.com/djc/couchdb-python/issues/281
    https://github.com/kennethreitz/requests/issues/3098

    唯独 "关闭" 会出 bug ,其他中文字符串不会(目前我还没发现)

    5 replies  •  2016-04-15 23:12:57 +08:00
    guyskk
    guyskk
    OP
    Apr 15, 2016
    1
    涉及到 HTTP 协议的问题,无解,真是日了××
    hging
    hging
    Apr 15, 2016
    2
    所以还是很奇怪为什么....id 会是一个汉字.....
    peter999
    peter999
    Apr 15, 2016
    3
    3.5 爱莫能助,我一直用 2.7
    zingl
    zingl
    Apr 15, 2016
    4
    国际化域名呢
    guyskk
    guyskk
    OP
    Apr 15, 2016
    5
    @zingl 请求头中的非 ascii 编码内容都要进行转义处理,然而 couchdb 没有转义。 couchdb 最新未发布的版本修复了这个 bug ,要解决这个问题只能自己从源码编译。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2268 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:07 · PVG 22:07 · LAX 06:07 · JFK 09:07
    ♥ Do have faith in what you're doing.