1. 首页
  2. 数据库
  3. 其它
  4. 对python requests的content和text方法的区别详解

对python requests的content和text方法的区别详解

上传者: 2021-01-01 03:48:58上传 PDF文件 36.41KB 热度 16次
问题: 一直在想requests的content和text属性的区别,从print 结果来看是没有任何区别的 看下源码: @property def text(self): """Content of the response, in unicode. If Response.encoding is None, encoding will be guessed using ``chardet``. The encoding of the response content is determined based solely on HTTP head
下载地址
用户评论