Sign inSign up

rwxrob/httphey

By rwxrob

•Updated over 5 years ago

Image
0

862

rwxrob/httphey repository overview

⁠"Hey There" Minimal HTTP Responder (Server)

Useful little server that only sends "Hey there" responses tagged with the requested ports passed as optional arguments (default: 8000, 8080) created originally to reliably debug cloud-native plumbing (Istio Service and Virtual Service specifically).

⁠Install

go install github.com/rwxrob/httphey@latest

Or pull down the binary if you trust your network:

curl -L https://raw.githubusercontent.com/rwxrob/httphey/main/httphey

⁠Usage

$ httphey
Listening on 8000
Listening on 8080

Or

$ httphey 9001 9002
Listening on 9001
Listening on 9002

Or

$ docker run -d --network host rwxrob/httphey
curl localhost:8000
curl localhost:8080

Or

$ docker run -d --network host rwxrob/httphey 9001 9002
curl localhost:9001
curl localhost:9002

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

over 5 years ago

docker pull rwxrob/httphey