ResponseNotReady exception

asit lipun4u at
Sat Jan 3 21:38:38 CET 2009

import httplib

class Server:
    #server class
    def __init__(self, host): = host
    def fetch(self, path):
        http = httplib.HTTPConnection(
        http.putrequest("GET", path)
        r = http.getresponse()
        print str(r.status) + "  :  " + r.reason

server = Server("")
for y in x:
     server.fetch("/" + y);

In the above code the phpvuln.txt file contains a list of directories.

Why the above code throws ResponseNotReady exception ???

More information about the Python-list mailing list