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