# 1) Unauthorized -> no Authentication header
curl -v localhost:8000
# 2) Unauthorized -> Authentication header OK, but wrong user or password
curl -v -u admin:passwd localhost:8000
# 3) Authenticated -> Authentication header OK and user and password OK
curl -v -u admin:admin localhost:8000
# 4) Authenticated -> Authentication header OK and user and password OK
# You need to generate a base64 from "admin:admin"
curl -v localhost:8000 -H "Authorization: Basic YWRtaW46YWRtaW4="