Quote:
Originally Posted by Armegalo
Hmm... no matter what I do I can't get a refresh faster than every 6 seconds.
|
It may be a problem with reverse name lookup inside BaseHTTPRequestHandler.send_response() method. It was in my case, at least. Try adding the following code to serv class:
Code:
def address_string(self):
host, port = self.client_address[:2]
#return socket.getfqdn(host)
return host
I've found this solution here:
http://stackoverflow.com/questions/2...r-on-localhost