A dumb HTTP server that displays the incoming requests. It can be useful to inspect the client requests going through proxies.
-help
Help message
-listen-address string
Listen address (default ":8080")
You can make the server wait an extra period of time before returning to the client.
curl http://localhost:8080/?sleep=1s
The sleep
parameter can be any duration string supported by
time.ParseDuration()
.
You can randomize the sleep duration too.
curl 'http://localhost:8080/?sleep=1s&random'