<reponame>SayanGhoshBDA/code-backup<filename>python/python_backup/Python_Progs/PYTHON_LEGACY_PROJECTS/HTTP_URL_Reader.py
from http.client import HTTPConnection
conn = HTTPConnection("www.edx.org")
conn.request("GET", "/")  
result = conn.getresponse()
# retrieves the entire contents.  
contents = result.read() 
print(contents)


from http.client import HTTPConnection
conn = HTTPConnection("www.edx.org")
conn.request("GET", "/")  
result = conn.getresponse()
# retrieves the entire contents.  
contents = result.read() 
print(contents)
# retrieves the entire contents.