Write a simple HTTP client to fetch some data from any web server using the native HTTP protocol. This can be the very first steps towards creating your own HTTP browser.
Your program should run this driver:
if __name__ == "__main__": client = HTTPClient(host) URL = ‘www.cnn.com’
print (client.fetch(URL))
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here