Skip to content
/ 200-ok Public

A dead simple HTTP server container answering 200 OK to any request.

License

Notifications You must be signed in to change notification settings

e7db/200-ok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

200-ok

A minimal HTTP server in Rust, using only the standard library.
Distributed as a lightweight Docker image under 500kB.
Listens on port 80 and replies to any HTTP request with 200 OK and the body OK\n.

Features

  • Extremely small and fast
  • No dependencies outside Rust standard library
  • Configurable thread pool and socket timeout via environment variables
  • Multi-architecture Docker images

Quick Start

Pull and run from Docker Hub:

docker run --rm -p 80:80 e7db/200-ok

Or from GitHub Container Registry:

docker run --rm -p 80:80 ghcr.io/e7db/200-ok

HTTP Response

HTTP/1.1 200 OK
Content-Length: 3

OK

License

This project is licensed under the MIT License.

About

A dead simple HTTP server container answering 200 OK to any request.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published