Closed gospider007 closed 1 year ago
已修复,请更新requests-go,命令:pip install --upgrade requests-go -i https://pypi.python.org/simple
更新模块后重新执行程序报错
Traceback (most recent call last):
File "c:\Users\bai\Desktop\笔记本2\笔记本2\python\ex5.py", line 38, in <module>
tls.http2_extensions.settings = {
AttributeError: 'TLSConfig' object has no attribute 'http2_extensions'
TLSConfig已经改了http2的属性名了,从http2_extensions改为http2_settings了
测试成功