根据API,标头都可以使用传递
requests.get
r=requests.get("http://www.example.com/", headers={"content-type":"text"})
上一篇 如何使用multiprocessing.Manager()?
下一篇 python类设计(staticmethod与方法)
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号