小编mas*_*ton的帖子

如何在请求中定义HTTP协议版本?

import requests  
requests.get("http://www.sample.com")
Run Code Online (Sandbox Code Playgroud)

如何修改参数来发送请求,如下所示:

“获取 www.sample.com HTTP/1.0”

“获取 www.sample.com HTTP/1.1”

python python-3.x python-requests

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

python ×1

python-3.x ×1

python-requests ×1