V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2016-04-15 15:30:25 +08:00 · 2582 次点击
    这是一个创建于 2934 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    5 条回复    2016-04-15 23:12:57 +08:00
    guyskk
        1
    guyskk  
    OP
       2016-04-15 16:03:26 +08:00
    涉及到 HTTP 协议的问题,无解,真是日了××
    hging
        2
    hging  
       2016-04-15 16:38:31 +08:00
    所以还是很奇怪为什么....id 会是一个汉字.....
    peter999
        3
    peter999  
       2016-04-15 16:44:48 +08:00
    3.5 爱莫能助,我一直用 2.7
    zingl
        4
    zingl  
       2016-04-15 18:19:29 +08:00
    国际化域名呢
    guyskk
        5
    guyskk  
    OP
       2016-04-15 23:12:57 +08:00
    @zingl 请求头中的非 ascii 编码内容都要进行转义处理,然而 couchdb 没有转义。 couchdb 最新未发布的版本修复了这个 bug ,要解决这个问题只能自己从源码编译。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   947 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:33 · PVG 03:33 · LAX 12:33 · JFK 15:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.