请求不具有与Urlib2等效的请求
read()。
>>> import requests>>> response = requests.get("http://www.google.com")>>> print response.content'<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage"><head>....'>>> print response.content == response.textTrue您发出的POST请求似乎不返回任何内容。POST请求通常是这种情况。也许它设置了一个cookie?状态代码告诉您POST毕竟成功。



