Sign inSign up

harobed/bad-http-server

By harobed

Updated about 9 years ago

Serves up a ratio of http 500's

Image
0

10K+

harobed/bad-http-server repository overview

Dockerfile

$ docker run --rm -p 8888:8888 harobed/bad-http-server
$ curl http://127.0.0.1:8888/static/30 -i
HTTP/1.1 200 OK
Date: Sat, 09 Sep 2017 12:45:36 GMT
Content-Length: 3
Content-Type: text/plain; charset=utf-8

$ curl http://127.0.0.1:8888/static/30 -i
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Sat, 09 Sep 2017 12:45:38 GMT
Content-Length: 7

panic.

Tag summary

Content type

Image

Digest

Size

4 MB

Last updated

about 9 years ago

docker pull harobed/bad-http-server