gobyexample/073-responses/responses.sh
Mark McGranaghan 1f7065e387 index work
2012-09-23 18:06:40 -07:00

6 lines
140 B
Bash

$ 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