Skip to content

simonpasquier/http_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A dumb HTTP server that displays the incoming requests. It can be useful to inspect the client requests going through proxies.

Usage

  -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'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published