$ go run xx-http-server-status-code.go $ curl -i http://127.0.0.1:5000/ | grep HTTP $ curl -i http://127.0.0.1:5000/protected | grep HTTP