AttributeError: addinfourl instance has no attribute 'getcode'
在print response1.getcode()这里就运行不下去了,报错如标题,求解~
第一种方法
Traceback (most recent call last):
File "D:\Eclipse\python\src\test\test_urllib2.py", line 8, in ?
print response1.getcode()
AttributeError: addinfourl instance has no attribute 'getcode'