Skip to content

Instantly share code, notes, and snippets.

@annashipman
Created February 28, 2013 16:31
Show Gist options
  • Save annashipman/5057991 to your computer and use it in GitHub Desktop.
Save annashipman/5057991 to your computer and use it in GitHub Desktop.
Full page response
annashipman$ curl -v 'http://webarchive.nationalarchives.gov.uk/20120823131012/http://www.businesslink.gov.uk/tools/'
* About to connect() to webarchive.nationalarchives.gov.uk port 80 (#0)
* Trying 194.109.159.6... connected
* Connected to webarchive.nationalarchives.gov.uk (194.109.159.6) port 80 (#0)
> GET /20120823131012/http://www.businesslink.gov.uk/tools/ 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: webarchive.nationalarchives.gov.uk
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: Apache/2.2.16 (Debian) mod_wsgi/3.3 Python/2.6.6
< Link: <http://webarchive.nationalarchives.gov.uk/20120828065627/http://www.businesslink.gov.uk/tools/>; rel="memento"; datetime="Tue, 28 Aug 2012 06:56:27 GMT", <http://webarchive.nationalarchives.gov.uk/20110203120426/http://www.businesslink.gov.uk/tools/>; rel="first memento"; datetime="Thu, 03 Feb 2011 12:04:26 GMT", <http://webarchive.nationalarchives.gov.uk/20121006113234/http://www.businesslink.gov.uk/tools/>; rel="last memento"; datetime="Sat, 06 Oct 2012 11:32:34 GMT", <http://webarchive.nationalarchives.gov.uk/20120608070327/http://www.businesslink.gov.uk/tools/>; rel="prev memento"; datetime="Fri, 08 Jun 2012 07:03:27 GMT", <http://webarchive.nationalarchives.gov.uk/20121006113234/http://www.businesslink.gov.uk/tools/>; rel="next memento"; datetime="Sat, 06 Oct 2012 11:32:34 GMT", <http://webarchive.nationalarchives.gov.uk/timegate/http://www.businesslink.gov.uk/tools/>; rel="timegate", <http://www.businesslink.gov.uk/tools/>; rel="original", <http://webarchive.nationalarchives.gov.uk/timemap/http://www.businesslink.gov.uk/tools/>; rel="timemap"; type="application/link-format"
< Vary: negotiate,accept-datetime
< Memento-Datetime: Tue, 28 Aug 2012 06:56:27 GMT
< Content-Type: text/html
< Content-Length: 12129
< Accept-Ranges: bytes
< Date: Thu, 28 Feb 2013 14:13:01 GMT
< X-Varnish: 1304270780 1304203280
< Age: 1071
< Via: 1.1 varnish
< Connection: keep-alive
<
<!--FURL_NAME=tools-->
<!--URL=http://www.businesslink.gov.uk/bdotg/action/detail?type=ONEOFFPAGE&itemId=1084515656-->
<!--FURLPARAM=tools-->
<HTML>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><!--FRIENDLY_URL-->
<title>[ARCHIVED CONTENT] Business Link | tools</title>
</head>
<body style="width:993px; margin-left:100px; margin-top:110px!important;background-position:0px 73px!important;position:relative;">
<div id="webArchiveInfobox" style="display: block; min-width: 130%; margin-left:-100px; height: 110px; position: absolute; top: -110px; left: -100px; width:1400px; padding: 0px; margin: 0px; background-color: #CC0000; opacity: 1; overflow: hidden;">
<script type="text/javascript">
BANNER_TNA_VERSION="06.November.2009";
function enforceBanner()
{
if (top != self)
{
if (self != top.frames[0])
{
//alert("I am not top "+top.name +" "+self.name);
document.getElementById("webArchiveInfobox").style.display = "none";
thebody = document.getElementsByTagName("body")[0];
//check that thebody is not null
if (thebody != null)
{
//inject style to override body with id
if (thebody.style != null)
{
thebody.style.backgroundPosition = "0px 0px";
thebody.style.position = "";
thebody.style.marginTop = "";
//alert(self.name+" "+thebody.style.marginTop + " "+thebody.style);
if (thebody.style.width.lastIndexOf("px") == -1)
thebody.style.width = "100%";
}
}
return;
}
}
thebody = document.getElementsByTagName("body")[0];
//check that thebody is not null
if (thebody != null)
{
//inject style to override body with id
if (thebody.style != null)
{
thebody.style.backgroundPosition = "0px 73px";
thebody.style.position = "relative";
thebody.style.marginTop = "105px";
if (thebody.style.width.lastIndexOf("px") == -1)
thebody.style.width = "100%";
}
}
}
enforceBanner();
</script>
<!-- the logo -->
<div id="webArchiveLogo" style="display: block; width: 317px; height: 70px; float: left; margin: 15px 0px 5px 0px; background: url(/media/img/TNA_logo_white_201006.gif) no-repeat 2px 20px;">&nbsp;</div>
<!-- the text content -->
<div style="display: block; margin-top: 18px; height: auto; width: 915px; margin-left: 325px; margin-right:0px; color: white !important; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: left; color: white;">
<!-- fake p : snapshot info -->
<div style="display: inline; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight:normal; color: white; padding-bottom:5px;">This snapshot, taken on <span style="color: white; font-weight: bold;">28/08/2012</span>, shows web content acquired for preservation by The National Archives. External links, forms and search may not work in archived websites and contact details are likely to be out of date.
</div>
<!-- fake link : Find out more -->
<div style="display: inline; cursor: pointer; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: white; font-size: 12px; line-height: 12px;" onclick="window.location.href = 'http://www.nationalarchives.gov.uk/webarchive/';">
<script type="text/javascript">
document.write('<span style="text-decoration:underline;" onmouseover="javascript:this.style.textDecoration=\'underline\';" onmouseout="javascript:this.style.textDecoration = \'underline\';">More about the UK Government Web Archive<img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; border:0; vertical-align: baseline; margin-left: 6px;" /></span>');
</script>
<noscript><a style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size:1em; font-weight: normal; text-decoration: underline; color: white;" onmouseout="javascript:this.style.textDecoration = \'underline\';" onmouseover="javascript:this.style.textDecoration = \'underline\';" href='http://www.nationalarchives.gov.uk/webarchive/'>More about the UK Government Web Archive<img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; padding-top:2px; border:0; vertical-align: baseline; margin-left: 6px;" /></a></noscript>
</div>
<div style="display: block; height:0; line-height:0">&nbsp;</div>
<!-- fake link : See all dates -->
<div style="display: inline; text-decoration: none; cursor: pointer; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: white; font-size: 12px; line-height: 20px;" onclick="window.location.href = 'http://webarchive.nationalarchives.gov.uk/*/http://www.businesslink.gov.uk/tools/';">
<script type="text/javascript">
document.write('<span style="color: white; text-decoration:underline;" onmouseover="javascript:this.style.textDecoration=\'underline\';" onmouseout="javascript:this.style.textDecoration = \'underline\';">See all dates available for this archived website<span style="text-decoration: none;"><img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; border:0; vertical-align: baseline; margin-left: 4px;" /></span></span>');
</script>
<noscript><a href="http://webarchive.nationalarchives.gov.uk/*/http://www.businesslink.gov.uk/tools/" style="font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: underline; font-weight: normal; color: white; font-size: 12px; line-height: 14px;">See all dates available for this archived website<span style="text-decoration: none;"><img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; padding-top:2px; border:0; vertical-align: baseline; margin-left: 4px;" /></span></a></noscript>
</div>
<div style="display: block; height: 0; line-height:0">&nbsp;</div>
<!-- fake p -->
<div style="display: inline; cursor: pointer; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: white; font-size: 12px; line-height: 15px;" >The UK Government Web Archive does not use cookies but some may be left in your browser from archived websites. </div>
<!-- fake link : cookies -->
<div style="display: inline; text-decoration: none; cursor: pointer; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: white; font-size: 12px; line-height: 20px;" onclick="window.location.href = 'http://www.nationalarchives.gov.uk/legal/cookies.htm';">
<script type="text/javascript">
document.write('<span style="color: white; text-decoration:underline;" onmouseover="javascript:this.style.textDecoration=\'underline\';" onmouseout="javascript:this.style.textDecoration = \'underline\';">More about cookies<span style="text-decoration: none;"><img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; border:0; vertical-align: baseline; margin-left: 4px;" /></span></span>');
</script>
<noscript><a href="http://www.nationalarchives.gov.uk/legal/cookies.htm" style="font-size: 1em; font-weight: normal; text-decoration: underline; color: white;" onmouseover="javascript:this.style.textDecoration = \'underline\';" onmouseout="javascript:this.style.textDecoration = \'underline\';">More about cookies<span style="text-decoration: none;"><img src="/media/img/arrow-white-small.gif" width="8" height="14" style="display:inline; padding-top:2px; border:0; vertical-align: baseline; margin-left: 4px;" /></span></a></noscript>
</div>
<!-- Sorry for any inconvenience -->
<!-- <div style="display: inline; margin-top:50px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: white; font-weight: bold; font-size: 12px; line-height: 15px;">Due to a maintenance operation, access to Web Archive collections might be partially affected. We apologise for any inconvenience this might cause.</div> -->
</div>
</div>
<!--[if IE]>
<script>
wa = document.getElementById('webArchiveInfobox');
if (wa != null) {wa.style.top=0;}
</script>
<![endif]-->
<script LANGUAGE="Javascript"><!--
function URLencode(sStr) {
return escape(sStr).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/'/g, '%27'); }
var str = new String(location.search);
var url = str.substring(1, str.length);
var trackingCode = new String("");
var queryParams = ""
var referrer = "";
var domain = "";
var user_domain_name = location.hostname;
var target = "";
splitStr = url.split("&");
for (var i=0; i<splitStr.length; i++)
{
if ( splitStr[i].indexOf('tc=') > -1 )
trackingCode = splitStr[i];
if ( splitStr[i].indexOf('target=') > -1 )
target = splitStr[i];
if ( splitStr[i].indexOf('ref=') > -1 )
referrer = splitStr[i];
if ( splitStr[i].indexOf('domain=') > -1 )
domain = splitStr[i];
}
if ( trackingCode.length > 0 )
queryParams = queryParams + "&" + trackingCode;
if ( referrer.length > 0 )
{
queryParams = queryParams + "&" + referrer;
}
else
{
referrer = new String(document.referrer);
queryParams = queryParams + "&ref=" + URLencode(referrer);
}
if ( domain.length > 0 )
{
queryParams = queryParams + "&" + domain;
}
else
{
domain = new String(document.domain);
queryParams = queryParams + "&domain=" + URLencode(domain);
}
if (target != "")
{
queryParams = queryParams + "&" + target;
}
var target_domain_name = "http://webarchive.nationalarchives.gov.uk/20120823131012/http://www.businesslink.gov.uk";
if (user_domain_name == 'online.businesslink.gov.uk')
{
var replaceURL = '""+target_domain_name+"/bdotg/action/detail?type=ONEOFFPAGE&itemId=1084515656&furlname=tools&furlparam=tools" + queryParams';
if (
(replaceURL.indexOf('https') > -1) ||
(replaceURL.indexOf('http') > -1)
)
{
target_domain_name = user_domain_name;
}
else
{
target_domain_name = location.protocol + "//" + user_domain_name;
}
}
location.replace(""+target_domain_name+"/bdotg/action/detail?type=ONEOFFPAGE&itemId=1084515656&furlname=tools&furlparam=tools" + queryParams)
//--></script>
<NOSCRIPT>
<BR>&nbsp&nbsp&nbsp&nbsp
<a href="http://webarchive.nationalarchives.gov.uk/20120823131012/http://www.businesslink.gov.uk/bdotg/action/detail?type=ONEOFFPAGE&itemId=1084515656&furlname=tools&furlparam=tools">
If the new page does not open automatically click here</A>
</NOSCRIPT>
</BODY>
</HTML>
* Connection #0 to host webarchive.nationalarchives.gov.uk left intact
* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment