content返回的是byte编码的response对象。
text则是根据网页的响应来猜测编码,如果服务器不指定的话,默认编码是"ISO-8859-1",返回的是unicode编码的response对象,
类似HTML或者XML的文本文件倾向于使用r.text,类似图片或者PDF文件这类二进制文件倾向于使用r.content.
You can also access the response body as bytes, for non-text requests:
>>> r.content