Last active
January 17, 2016 20:28
-
-
Save nickmbailey/f80ad965a048c1d4df22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import httplib | |
for i in range(20): | |
conn = httplib.HTTPSConnection("www.python.org") | |
conn.request("GET", "/") | |
r1 = conn.getresponse() | |
print r1.status, r1.reason | |
print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An example run: