Skip to content

Instantly share code, notes, and snippets.

@watson
Created August 4, 2012 08:45
Show Gist options
  • Save watson/3256106 to your computer and use it in GitHub Desktop.
Save watson/3256106 to your computer and use it in GitHub Desktop.
Node.js server and the difference between `curl -i` and `curl -I`
watson% curl -I http://localhost:8080/v1/alive
HTTP/1.1 404 Not Found
Date: Sat, 04 Aug 2012 08:43:58 GMT
Connection: keep-alive
watson% curl -i http://localhost:8080/v1/alive
HTTP/1.1 200 OK
Date: Sat, 04 Aug 2012 08:43:59 GMT
Connection: keep-alive
Transfer-Encoding: chunked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment