Skip to content

Instantly share code, notes, and snippets.

@AndreasMadsen
Created July 19, 2012 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreasMadsen/3145094 to your computer and use it in GitHub Desktop.
Save AndreasMadsen/3145094 to your computer and use it in GitHub Desktop.
Andreass-MacBook-Pro:~ Andreas$ curl -v http://google.dk
* About to connect() to google.dk port 80 (#0)
* Trying 173.194.69.94... connected
* Connected to google.dk (173.194.69.94) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: google.dk
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: http://www.google.dk/
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 19 Jul 2012 16:25:00 GMT
< Expires: Sat, 18 Aug 2012 16:25:00 GMT
< Cache-Control: public, max-age=2592000
< Server: gws
< Content-Length: 218
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: SAMEORIGIN
<
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.dk/">here</A>.
</BODY></HTML>
* Connection #0 to host google.dk left intact
* Closing connection #0
Andreass-MacBook-Pro:~ Andreas$ curl -v http://nodejs.org
* Could not resolve host: nodejs.org; nodename nor servname provided, or not known
* Closing connection #0
curl: (6) Could not resolve host: nodejs.org; nodename nor servname provided, or not known
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment