Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import httplib
- import os
- h = httplib.HTTPConnection('alt1040.com',timeout=80)
- i = 0
- while 1:
- i += 1
- h.request("GET","/")
- r = h.getresponse()
- print "Petición %d, respuesta: %s" % (i,str(r.status))
- h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement