How to simulate timeout response
How to simulate timeout response Question: I’m creating a Python script that is always checking if a webapp is ok, because it was usual to send timeout response to several requests. This script uses httplib: conn = httplib.HTTPConnection(“10.255.255.1”) conn.request(“HEAD”, “/”) ping = conn.getresponse() Then simply analyses the http code returned. I do not control the …
Total answers: 2