#!/bin/python2.7 import httplib conn = httplib.HTTPSConnection("www.python.org") conn.request("GET", "/") r1 = conn.getresponse() print r1.read()