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
Lunatic1
V2EX  ›  Python

写签到脚本遇到的 Requests 请求执行的顺序问题

  •  
  •   Lunatic1 · 2019-09-03 19:42:39 +08:00 · 1550 次点击
    这是一个创建于 1688 天前的主题,其中的信息可能已经有所发展或是发生改变。

    两个相同格式的不同网站的签到方法: A.http B.https 加入了 verify=False 取消警告

    现在的问题是:当设置执行顺序 AB 时,A 能正常执行响应,但是 B 明显为阻塞状态。当执行顺序为 BA 时,B 与 A 都能正常执行响应。请问导致这个问题的出现的可能原因是什么呀?

    1 条回复    2019-09-03 21:37:08 +08:00
    luckrill
        1
    luckrill  
       2019-09-03 21:37:08 +08:00
    代码贴出来看看
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4117 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:15 · PVG 18:15 · LAX 03:15 · JFK 06:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.