Skip to content

Instantly share code, notes, and snippets.

@julien51
Created June 10, 2013 14:04
Show Gist options
  • Save julien51/5748941 to your computer and use it in GitHub Desktop.
Save julien51/5748941 to your computer and use it in GitHub Desktop.
$ curl "http://subtome.com" --verbose
* About to connect() to subtome.com port 80 (#0)
* Trying 217.70.184.38...
* connected
* Connected to subtome.com (217.70.184.38) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: subtome.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: Varnish
< Location: http://www.subtome.com
< Content-Type: text/html; charset=utf-8
< Content-Length: 315
< Accept-Ranges: bytes
< Date: Mon, 10 Jun 2013 14:03:18 GMT
< Via: 1.1 varnish
< Connection: close
< Age: 0
<
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>301 Moved Permanently</title>
</head>
<body>
<h1>Error 301 Moved Permanently</h1>
<p>Moved Permanently</p>
</body>
</html>
* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment