摘要: Requests Header | Http Header Responses 部分 | Http Header 阅读全文
posted @ 2018-03-30 23:00 子信风蓝蓝 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: 一、安装 Requests 通过pip安装 或者,下载代码后安装: response对象属性: r.status_code #响应状态码r.raw #返回原始响应体,也就是 urllib 的 response 对象,使用 r.raw.read() 读取r.content #字节方式的响应体,会自动为 阅读全文
posted @ 2018-03-30 12:58 子信风蓝蓝 阅读(195) 评论(0) 推荐(0) 编辑