HTTP Request in Python using urllib Module
import urllib soc=urllib.urlopen("http://google.co.in") print("Status Code: "+str(soc.code)) result=soc.info() print(result) print(result.keys()) print("Server:"+result['server']) print("Data Returned: "+soc.read())