import urllib2 req = urllib2.Request("http://localhost:8080") res = urllib2.urlopen( req ) headers = str(res.info()) print(headers) html=res.read() print(html)
Copyright © 2019- baoquwan.com 版权所有 湘ICP备2024080961号-7
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务