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