Example #1
0
 def setup(self):
     # If the client is unreachable for 5 seconds, close the connection
     self.timeout = 5
     BaseHTTPRequestHandler.setup(self)
Example #2
0
 def setup(self):
     BaseHTTPRequestHandler.setup(self)
     self.request.settimeout(5)
Example #3
0
 def setup(self):
     # If the client is unreachable for 5 seconds, close the connection
     self.timeout = 5
     BaseHTTPRequestHandler.setup(self)