gobyexample/069-http-server-status-code/http-server-status-code.sh
Mark McGranaghan 5f9b4d2eb4 lmao it worked
2012-09-23 13:11:11 -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