Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 python 中使用 urllib2 来获取网站的响应。但是响应返回错过了一些数据。当我在 php 中使用 file_get_contents 时,它会返回完整数据。这是我使用的代码:
response = urllib2.urlopen(url) print response.read()