Skip to content

Instantly share code, notes, and snippets.

@anarchivist
Created August 7, 2013 16:22
Show Gist options
  • Save anarchivist/6175623 to your computer and use it in GitHub Desktop.
Save anarchivist/6175623 to your computer and use it in GitHub Desktop.
$ curl -svIL http://dx.doi.org/10.1371/journal.pone.0067380
* About to connect() to dx.doi.org port 80 (#0)
* Trying 54.214.7.107...
* connected
* Connected to dx.doi.org (54.214.7.107) port 80 (#0)
> HEAD /10.1371/journal.pone.0067380 HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
> Host: dx.doi.org
> Accept: */*
>
< HTTP/1.1 303 See Other
HTTP/1.1 303 See Other
< Server: Apache-Coyote/1.1
Server: Apache-Coyote/1.1
< Vary: Accept
Vary: Accept
< Location: http://dx.plos.org/10.1371/journal.pone.0067380
Location: http://dx.plos.org/10.1371/journal.pone.0067380
< Expires: Thu, 08 Aug 2013 15:52:15 GMT
Expires: Thu, 08 Aug 2013 15:52:15 GMT
< Content-Type: text/html;charset=utf-8
Content-Type: text/html;charset=utf-8
< Content-Length: 180
Content-Length: 180
< Date: Wed, 07 Aug 2013 16:21:27 GMT
Date: Wed, 07 Aug 2013 16:21:27 GMT
<
* Connection #0 to host dx.doi.org left intact
* Issue another request to this URL: 'http://dx.plos.org/10.1371/journal.pone.0067380'
* Disables POST, goes with HEAD
* About to connect() to dx.plos.org port 80 (#1)
* Trying 149.20.69.9...
* connected
* Connected to dx.plos.org (149.20.69.9) port 80 (#1)
> HEAD /10.1371/journal.pone.0067380 HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
> Host: dx.plos.org
> Accept: */*
>
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Wed, 07 Aug 2013 16:21:26 GMT
Date: Wed, 07 Aug 2013 16:21:26 GMT
< Server: Apache/2.2.15 (CentOS)
Server: Apache/2.2.15 (CentOS)
< Location: http://dx.plos.org/ambra-doi-resolver/10.1371/journal.pone.0067380
Location: http://dx.plos.org/ambra-doi-resolver/10.1371/journal.pone.0067380
< Connection: close
Connection: close
< Content-Type: text/html; charset=iso-8859-1
Content-Type: text/html; charset=iso-8859-1
< Set-Cookie: Coyote-2-95144509=95144510:0; path=/
Set-Cookie: Coyote-2-95144509=95144510:0; path=/
<
* Closing connection #1
* Issue another request to this URL: 'http://dx.plos.org/ambra-doi-resolver/10.1371/journal.pone.0067380'
* About to connect() to dx.plos.org port 80 (#1)
* Trying 149.20.69.9...
* connected
* Connected to dx.plos.org (149.20.69.9) port 80 (#1)
> HEAD /ambra-doi-resolver/10.1371/journal.pone.0067380 HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
> Host: dx.plos.org
> Accept: */*
>
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Wed, 07 Aug 2013 16:21:27 GMT
Date: Wed, 07 Aug 2013 16:21:27 GMT
< Server: Apache/2.2.15 (CentOS)
Server: Apache/2.2.15 (CentOS)
< Location: http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0067380
Location: http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0067380
< Connection: close
Connection: close
< Content-Type: text/plain; charset=UTF-8
Content-Type: text/plain; charset=UTF-8
< Set-Cookie: Coyote-2-95144509=95144510:0; path=/
Set-Cookie: Coyote-2-95144509=95144510:0; path=/
<
* Closing connection #1
* Issue another request to this URL: 'http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0067380'
* About to connect() to www.plosone.org port 80 (#1)
* Trying 149.20.69.9...
* connected
* Connected to www.plosone.org (149.20.69.9) port 80 (#1)
> HEAD /article/info%3Adoi%2F10.1371%2Fjournal.pone.0067380 HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
> Host: www.plosone.org
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Wed, 07 Aug 2013 16:21:27 GMT
Date: Wed, 07 Aug 2013 16:21:27 GMT
< Server: Apache/2.2.15 (CentOS)
Server: Apache/2.2.15 (CentOS)
< Set-Cookie: JSESSIONID=B27D2B041D449ED75604430B83CB825B; Path=/
Set-Cookie: JSESSIONID=B27D2B041D449ED75604430B83CB825B; Path=/
< Cache-Control: max-age=1
Cache-Control: max-age=1
< Expires: Wed, 07 Aug 2013 16:21:28 GMT
Expires: Wed, 07 Aug 2013 16:21:28 GMT
< Connection: close
Connection: close
< Content-Type: text/html;charset=UTF-8
Content-Type: text/html;charset=UTF-8
< Set-Cookie: Coyote-2-95144509=95144510:0; path=/
Set-Cookie: Coyote-2-95144509=95144510:0; path=/
<
* Closing connection #1
* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment