Sign inSign up

mendhak/http-https-echo

By mendhak

•Updated 4 days ago

Listens on http/https, echoes details about web requests including headers, body, and feature flags.

Image
70

10M+

mendhak/http-https-echo repository overview

mendhak/http-https-echo is a Docker image that can echo various HTTP request properties back to client in the response, as well as in the Docker container logs. It comes with various options that can manipulate the response output.

For full usage details, visit the Github repository⁠.

browser

⁠Features/options

  • Echoes request details (method, headers, path, query, body, and more) back to the client and container logs
  • Use different HTTP and HTTPS listener ports
  • Use for your own certificates
  • Trust additional forwarded-proxy IPs and subnets
  • JWT header decoding
  • HTTP/1 and HTTP/2 support
  • Suppress ExpressJS request log lines
  • Ability to ignore specific paths from logging
  • JSON payload echoing
  • Single-line logging
  • Ability to send an empty response
  • Custom response status codes
  • Custom response Content-Type
  • Configurable response delay to simulate slow responses
  • Body-only responses
  • Echo environment variables in the response
  • Configure CORS headers
  • mTLS client certificate details in the response
  • Preserve header case in the response body
  • Override the response body with a file
  • Maximum header size
  • Cookie and signed cookie echoing
  • Prometheus metrics export
  • Non root, should work with kubernetes/openshift
⁠Curl output

curl

⁠docker logs output

dockerlogs

Tag summary

Content type

Image

Digest

sha256:c4a81744e…

Size

62.6 MB

Last updated

4 days ago

docker pull mendhak/http-https-echo