def http_error_302(self, req, fp, code, msg, headers):
print "Ignoring redirect"
infourl = urllib.addinfourl(fp, headers, req.get_full_url())
infourl.status = status
infourl.code = code
return infourl
评论列表
文章目录