Archive-Har
view release on metacpan or search on metacpan
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
{
"name" : "Content-Length",
"value" : "234"
},
{
"name" : "Content-Type",
"value" : "text/html; charset=UTF-8"
},
{
"name" : "Date",
"value" : "Tue, 03 Apr 2012 22:13:46 GMT"
},
{
"name" : "Expires",
"value" : "Tue, 03 Apr 2012 22:13:46 GMT"
},
{
"name" : "Location",
"value" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F"
},
{
"name" : "Server",
"value" : "GSE"
},
{
"name" : "Set-Cookie",
"value" : "GAPS=1:UXm7kjQDHHUZVCIzJEuqpbo7xhUpSw:pesWZreBW2aeymnv;Path=/;Expires=Thu, 03-Apr-2014 22:13:46 GMT;Secure;HttpOnly"
},
{
"name" : "Strict-Transport-Security",
"value" : "max-age=2592000; includeSubDomains"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 307,
"compression" : 73,
"mimeType" : "text/html; charset=UTF-8",
"text" : "<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Moved Temporarily</H1>\nThe document has moved <A HREF=\"https://www.google.com/accounts/recovery?hl=en&...
},
"redirectURL" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F",
"headersSize" : 627,
"bodySize" : 234
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"lastAccess" : "2012-04-03T22:13:50.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 23,
"dns" : 1,
"connect" : 1106,
"send" : 0,
"wait" : 163,
"receive" : 1
},
"serverIPAddress" : "173.194.72.84",
"connection" : "2"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:51.743+10:00",
"time" : 1068,
"request" : {
"method" : "GET",
"url" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F",
"httpVersion" : "HTTP/1.1",
"cookies" : [
{
"name" : "PREF",
"value" : "ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS",
"path" : "/",
"domain" : ".google.com",
"expires" : "2014-04-03T01:32:16.000Z",
"httpOnly" : false,
"secure" : false
}
],
"headers" : [
{
"name" : "Accept",
"value" : "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Cookie",
"value" : "PREF=ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS"
},
{
"name" : "Host",
"value" : "www.google.com"
},
{
"name" : "User-Agent",
"value" : "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/2010.111 Firefox/11.0"
}
],
"queryString" : [
{
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
{
"name" : "Date",
"value" : "Tue, 03 Apr 2012 22:13:47 GMT"
},
{
"name" : "Expires",
"value" : "Fri, 01 Jan 1990 00:00:00 GMT"
},
{
"name" : "Pragma",
"value" : "no-cache"
},
{
"name" : "Server",
"value" : "GSE"
},
{
"name" : "Set-Cookie",
"value" : "accountrecoverylocale=en; Expires=Tue, 10-Apr-2012 22:13:47 GMT; Path=/accounts/recovery; Secure; HttpOnly"
},
{
"name" : "Set-Cookie",
"value" : "mainpageaccountrecoveryparamscookie=Eh1odHRwczovL21haWwuZ29vZ2xlLmNvbS9tYWlsLyDO_Jy24JP2nz4=; Expires=Tue, 10-Apr-2012 22:13:47 GMT; Path=/accounts/recovery; Secure; HttpOnly"
},
{
"name" : "Set-Cookie",
"value" : "S=account-recovery=tJIzeRk0MKQ; Domain=.google.com; Path=/; Secure; HttpOnly"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-Frame-Options",
"value" : "SAMEORIGIN"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 6691,
"compression" : 4158,
"mimeType" : "text/html; charset=UTF-8",
"text" : "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"><html><script type=\"text/javascript\" src=\"/accounts/recovery/resources/3135485014-options_bin.js\"></script>\n<script t...
},
"redirectURL" : "",
"headersSize" : 759,
"bodySize" : 2533
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"lastAccess" : "2012-04-03T22:13:51.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 10,
"dns" : 1,
"connect" : 318,
"send" : 0,
"wait" : 712,
"receive" : 27
},
"serverIPAddress" : "74.125.237.112",
"connection" : "3"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:52.884+10:00",
"time" : 106,
"request" : {
"method" : "GET",
"url" : "https://www.google.com/accounts/recovery/resources/3135485014-options_bin.js",
"httpVersion" : "HTTP/1.1",
"cookies" : [
{
"name" : "accountrecoverylocale",
"value" : "en",
"path" : "/accounts/recovery",
"domain" : "www.google.com",
"expires" : "2012-04-10T22:13:47.000Z",
"httpOnly" : true,
"secure" : true
},
{
"name" : "mainpageaccountrecoveryparamscookie",
"value" : "Eh1odHRwczovL21haWwuZ29vZ2xlLmNvbS9tYWlsLyDO_Jy24JP2nz4=",
"path" : "/accounts/recovery",
"domain" : "www.google.com",
"expires" : "2012-04-10T22:13:47.000Z",
"httpOnly" : true,
"secure" : true
},
{
"name" : "PREF",
"value" : "ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS",
"path" : "/",
"domain" : ".google.com",
"expires" : "2014-04-03T01:32:16.000Z",
"httpOnly" : false,
"secure" : false
},
{
"name" : "S",
"value" : "account-recovery=tJIzeRk0MKQ",
"path" : "/",
"domain" : ".google.com",
"httpOnly" : true,
"secure" : true
}
],
"headers" : [
{
"name" : "Accept",
"value" : "*/*"
},
{
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"name" : "Content-Encoding",
"value" : "gzip"
},
{
"name" : "Content-Length",
"value" : "15612"
},
{
"name" : "Content-Type",
"value" : "text/javascript; charset=utf-8"
},
{
"name" : "Date",
"value" : "Wed, 28 Mar 2012 14:25:49 GMT"
},
{
"name" : "Expires",
"value" : "Fri, 27 Apr 2012 14:25:49 GMT"
},
{
"name" : "Last-Modified",
"value" : "Sat, 24 Mar 2012 08:58:08 GMT"
},
{
"name" : "Server",
"value" : "GSE"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-Frame-Options",
"value" : "SAMEORIGIN"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 39903,
"compression" : 24291,
"mimeType" : "text/javascript; charset=utf-8",
"text" : "(function (){ function e(a){throw a;}var l=void 0,m=!0,n=null,p=!1,aa=window,r=Error,ba=parseInt,s=parseFloat,da=Function,ea=document,fa=Array,t=Math;function ga(a,b){return a.width=b}function ha(a,b){return a.innerH...
},
"redirectURL" : "",
"headersSize" : 396,
"bodySize" : 15612
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"expires" : "2012-04-27T14:25:49.000Z",
"lastAccess" : "2012-04-03T22:13:52.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 16,
"dns" : -1,
"connect" : -1,
"send" : 0,
"wait" : 31,
"receive" : 59
},
"serverIPAddress" : "74.125.237.112",
"connection" : "3"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:52.885+10:00",
"time" : 103,
"request" : {
"method" : "GET",
"url" : "https://www.google.com/accounts/recovery/resources/2134501236-all-css-kennedy.css",
"httpVersion" : "HTTP/1.1",
"cookies" : [
{
"name" : "accountrecoverylocale",
"value" : "en",
"path" : "/accounts/recovery",
"domain" : "www.google.com",
"expires" : "2012-04-10T22:13:47.000Z",
"httpOnly" : true,
"secure" : true
},
{
"name" : "mainpageaccountrecoveryparamscookie",
"value" : "Eh1odHRwczovL21haWwuZ29vZ2xlLmNvbS9tYWlsLyDO_Jy24JP2nz4=",
"path" : "/accounts/recovery",
"domain" : "www.google.com",
"expires" : "2012-04-10T22:13:47.000Z",
"httpOnly" : true,
"secure" : true
},
{
"name" : "PREF",
"value" : "ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS",
"path" : "/",
"domain" : ".google.com",
"expires" : "2014-04-03T01:32:16.000Z",
"httpOnly" : false,
"secure" : false
},
{
"name" : "S",
"value" : "account-recovery=tJIzeRk0MKQ",
"path" : "/",
"domain" : ".google.com",
"httpOnly" : true,
"secure" : true
}
],
"headers" : [
{
"name" : "Accept",
"value" : "text/css,*/*;q=0.1"
},
{
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"name" : "Content-Encoding",
"value" : "gzip"
},
{
"name" : "Content-Length",
"value" : "5128"
},
{
"name" : "Content-Type",
"value" : "text/css; charset=utf-8"
},
{
"name" : "Date",
"value" : "Mon, 02 Apr 2012 07:50:40 GMT"
},
{
"name" : "Expires",
"value" : "Wed, 02 May 2012 07:50:40 GMT"
},
{
"name" : "Last-Modified",
"value" : "Wed, 28 Mar 2012 12:40:40 GMT"
},
{
"name" : "Server",
"value" : "GSE"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-Frame-Options",
"value" : "SAMEORIGIN"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 33756,
"compression" : 28628,
"mimeType" : "text/css; charset=utf-8",
"text" : "/* Copyright 2012 Google Inc. All Rights Reserved. */\n.goog-inline-block{position:relative;display:-moz-inline-box;display:inline-block}* html .goog-inline-block{display:inline}*:first-child+html .goog-inline-block{...
},
"redirectURL" : "",
"headersSize" : 388,
"bodySize" : 5128
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"expires" : "2012-05-02T07:50:40.000Z",
"lastAccess" : "2012-04-03T22:13:52.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 14,
"dns" : 1,
"connect" : 55,
"send" : 0,
"wait" : 31,
"receive" : 2
},
"serverIPAddress" : "74.125.237.112",
"connection" : "4"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:52.887+10:00",
"time" : 217,
"request" : {
"method" : "GET",
"url" : "https://ssl.gstatic.com/images/logos/google_logo_41.png",
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
"headers" : [
{
"name" : "Accept",
"value" : "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Host",
"value" : "ssl.gstatic.com"
},
{
"name" : "Referer",
"value" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F"
},
{
"name" : "User-Agent",
"value" : "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/2010.111 Firefox/11.0"
}
],
"queryString" : [
],
"headersSize" : 414,
"bodySize" : 0
},
"response" : {
"status" : 200,
"statusText" : "OK",
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"name" : "Age",
"value" : "538388"
},
{
"name" : "Cache-Control",
"value" : "public, max-age=31536000"
},
{
"name" : "Content-Length",
"value" : "6321"
},
{
"name" : "Content-Type",
"value" : "image/png"
},
{
"name" : "Date",
"value" : "Wed, 28 Mar 2012 16:40:40 GMT"
},
{
"name" : "Expires",
"value" : "Thu, 28 Mar 2013 16:40:40 GMT"
},
{
"name" : "Last-Modified",
"value" : "Thu, 20 Oct 2011 02:53:54 GMT"
},
{
"name" : "Server",
"value" : "sffe"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 6321,
"mimeType" : "image/png",
"text" : "iVBORw0KGgoAAAANSUhEUgAAAHQAAAApCAYAAADkig0OAAAYeElEQVRYw+1ZaZhU5ZV+v+/eulXV1RsNdEPTAi2IuKAiKsYF0YgQRQ2aEI1OjJpoVFwSjcZlBqPGjI5LxnHXREWig0aNihuikUU0iKKsNk0v9FK91F53v/db5ge3SNl2Q+tgMhP9nqeeB6q7v+W857znnPcQfIl19t1+xHXM...
"encoding" : "base64"
},
"redirectURL" : "",
"headersSize" : 323,
"bodySize" : 6321
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"expires" : "2013-03-28T16:40:39.000Z",
"lastAccess" : "2012-04-03T22:13:52.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 13,
"dns" : 4,
"connect" : 166,
"send" : 0,
"wait" : 31,
"receive" : 3
},
"serverIPAddress" : "74.125.237.143",
"connection" : "5"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:53.087+10:00",
"time" : 170,
"request" : {
"method" : "GET",
"url" : "https://ssl.google-analytics.com/ga.js",
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
"headers" : [
{
"name" : "Accept",
"value" : "*/*"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Host",
"value" : "ssl.google-analytics.com"
},
{
"name" : "Referer",
"value" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F"
},
{
"name" : "User-Agent",
"value" : "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/2010.111 Firefox/11.0"
}
],
"queryString" : [
],
"headersSize" : 367,
"bodySize" : 0
},
"response" : {
"status" : 200,
"statusText" : "OK",
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"name" : "Content-Encoding",
"value" : "gzip"
},
{
"name" : "Content-Length",
"value" : "13764"
},
{
"name" : "Content-Type",
"value" : "text/javascript"
},
{
"name" : "Date",
"value" : "Tue, 03 Apr 2012 22:01:28 GMT"
},
{
"name" : "Expires",
"value" : "Wed, 04 Apr 2012 00:01:28 GMT"
},
{
"name" : "Last-Modified",
"value" : "Thu, 15 Mar 2012 01:30:54 GMT"
},
{
"name" : "Server",
"value" : "GFE/2.0"
},
{
"name" : "Vary",
"value" : "Accept-Encoding"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
}
],
"content" : {
"size" : 34293,
"compression" : 20529,
"mimeType" : "text/javascript",
"text" : "(function(){var g=void 0,h=!0,i=null,j=!1,ba=encodeURIComponent,ca=Infinity,da=setTimeout,ea=decodeURIComponent,l=Math;function fa(a,b){return a.onload=b}function ga(a,b){return a.name=b}var m=\"push\",ha=\"slice\",n...
},
"redirectURL" : "",
"headersSize" : 373,
"bodySize" : 13764
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"expires" : "2012-04-04T00:01:28.000Z",
"lastAccess" : "2012-04-03T22:13:53.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 2,
"dns" : 16,
"connect" : 92,
"send" : 0,
"wait" : 30,
"receive" : 30
},
"serverIPAddress" : "74.125.237.30",
"connection" : "6"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:53.323+10:00",
"time" : 44,
"request" : {
"method" : "GET",
"url" : "https://ssl.google-analytics.com/__utm.gif?utmwv=5.2.6&utms=1&utmn=1490130873&utmhn=www.google.com&utmcs=UTF-8&utmsr=1920x1200&utmvp=1920x732&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=11.2%20r202&utmdt=Google%20Account%20Rec...
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
"headers" : [
{
"name" : "Accept",
"value" : "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Host",
"value" : "ssl.google-analytics.com"
},
{
"name" : "Referer",
"value" : "https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F"
},
{
"name" : "User-Agent",
"value" : "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/2010.111 Firefox/11.0"
}
],
"queryString" : [
{
"name" : "utmac",
"value" : "UA-20013302-1"
},
{
"name" : "utmcc",
"value" : "__utma=173272373.780.09456.1333491233.1333491233.1333491233.1;+__utmz=173272373.1333491233.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);"
},
{
"name" : "utmcs",
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
{
"name" : "Age",
"value" : "540925"
},
{
"name" : "Cache-Control",
"value" : "private, no-cache, no-cache=Set-Cookie, proxy-revalidate"
},
{
"name" : "Content-Length",
"value" : "35"
},
{
"name" : "Content-Type",
"value" : "image/gif"
},
{
"name" : "Date",
"value" : "Wed, 28 Mar 2012 15:58:23 GMT"
},
{
"name" : "Expires",
"value" : "Wed, 19 Apr 2000 11:43:00 GMT"
},
{
"name" : "Last-Modified",
"value" : "Wed, 21 Jan 2004 19:51:30 GMT"
},
{
"name" : "Pragma",
"value" : "no-cache"
},
{
"name" : "Server",
"value" : "GFE/2.0"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
}
],
"content" : {
"size" : 35,
"mimeType" : "image/gif",
"text" : "R0lGODlhAQABAID/AP///wAAACwAAAAAAQABAAACAkQBADs=",
"encoding" : "base64"
},
"redirectURL" : "",
"headersSize" : 341,
"bodySize" : 35
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"lastAccess" : "2012-04-03T22:13:53.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 11,
"dns" : -1,
"connect" : -1,
"send" : 0,
"wait" : 33,
"receive" : 0
},
"serverIPAddress" : "74.125.237.30",
"connection" : "6"
},
{
"pageref" : "page_0",
"startedDateTime" : "2012-04-04T08:13:53.582+10:00",
"time" : 214,
"request" : {
"method" : "GET",
"url" : "https://www.google.com/csi?v=3&s=account_recovery&action=allpages&rt=prt.17,ol.507",
"httpVersion" : "HTTP/1.1",
"cookies" : [
{
"name" : "PREF",
"value" : "ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS",
"path" : "/",
"domain" : ".google.com",
"expires" : "2014-04-03T01:32:16.000Z",
"httpOnly" : false,
"secure" : false
},
{
"name" : "S",
"value" : "account-recovery=tJIzeRk0MKQ",
"path" : "/",
"domain" : ".google.com",
"httpOnly" : true,
"secure" : true
}
],
"headers" : [
{
"name" : "Accept",
"value" : "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Cookie",
"value" : "PREF=ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS; S=account-recovery=tJIzeRk0MKQ"
},
{
"name" : "Host",
"value" : "www.google.com"
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"name" : "v",
"value" : "3"
}
],
"headersSize" : 554,
"bodySize" : 0
},
"response" : {
"status" : 204,
"statusText" : "No Content",
"httpVersion" : "HTTP/1.1",
"cookies" : [
],
"headers" : [
{
"name" : "Cache-Control",
"value" : "private, no-cache"
},
{
"name" : "Content-Length",
"value" : "0"
},
{
"name" : "Content-Type",
"value" : "image/gif"
},
{
"name" : "Date",
"value" : "Wed, 21 Jan 2004 19:51:30 GMT"
},
{
"name" : "Expires",
"value" : "Wed, 17 Sep 1975 21:32:10 GMT"
},
{
"name" : "Pragma",
"value" : "no-cache"
},
{
"name" : "Server",
"value" : "Golfe"
}
],
"content" : {
"size" : 0,
"mimeType" : "image/gif"
},
"redirectURL" : "",
"headersSize" : 215,
"bodySize" : 0
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"lastAccess" : "2012-04-03T22:13:53.000Z",
"eTag" : "",
"hitCount" : 1
}
},
"timings" : {
"blocked" : 51,
"dns" : -1,
"connect" : -1,
"send" : 0,
"wait" : 163,
"receive" : 0
},
"serverIPAddress" : "74.125.237.112",
"connection" : "3"
},
{
"startedDateTime" : "2012-04-04T08:13:53.586+10:00",
"time" : 231,
"request" : {
"method" : "GET",
"url" : "https://www.google.com/favicon.ico",
"httpVersion" : "HTTP/1.1",
"cookies" : [
{
"name" : "PREF",
"value" : "ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS",
"path" : "/",
"domain" : ".google.com",
"expires" : "2014-04-03T01:32:16.000Z",
"httpOnly" : false,
"secure" : false
},
{
"name" : "S",
"value" : "account-recovery=tJIzeRk0MKQ",
"path" : "/",
"domain" : ".google.com",
"httpOnly" : true,
"secure" : true
}
],
"headers" : [
{
"name" : "Accept",
"value" : "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"name" : "Accept-Encoding",
"value" : "gzip, deflate"
},
{
"name" : "Accept-Language",
"value" : "en-us,en;q=0.5"
},
{
"name" : "Connection",
"value" : "keep-alive"
},
{
"name" : "Cookie",
"value" : "PREF=ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS; S=account-recovery=tJIzeRk0MKQ"
},
{
"name" : "Host",
"value" : "www.google.com"
},
t/httpwatch_cookies_n_cache.t view on Meta::CPAN
"cookies" : [
],
"headers" : [
{
"name" : "Cache-Control",
"value" : "private, max-age=31536000"
},
{
"name" : "Content-Length",
"value" : "1150"
},
{
"name" : "Content-Type",
"value" : "image/x-icon"
},
{
"name" : "Date",
"value" : "Tue, 03 Apr 2012 22:13:49 GMT"
},
{
"name" : "Expires",
"value" : "Tue, 03 Apr 2012 22:13:49 GMT"
},
{
"name" : "Last-Modified",
"value" : "Mon, 02 Apr 2012 02:13:37 GMT"
},
{
"name" : "Server",
"value" : "sffe"
},
{
"name" : "X-Content-Type-Options",
"value" : "nosniff"
},
{
"name" : "X-XSS-Protection",
"value" : "1; mode=block"
}
],
"content" : {
"size" : 1150,
"mimeType" : "image/x-icon",
"text" : "AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7PT7/3zF6/9Ptu//RbHx/0227/+Tzvb/9vv5/97h0f9JeBz/NHoA/z98Av9AfAD/PHsA/0F6AP8AAAAA/vz7/1+33/8Mp+z/FrHw/xWy8f8bs/T/Hqrx/3zE7v////7/...
"encoding" : "base64"
},
"redirectURL" : "",
"headersSize" : 314,
"bodySize" : 1150
},
"cache" : {
"beforeRequest" : null,
"afterRequest" : {
"expires" : "2013-04-03T22:13:49.000Z",
"lastAccess" : "2012-04-03T22:13:53.000Z",
"eTag" : "",
"hitCount" : 5
}
},
"timings" : {
"blocked" : 69,
"dns" : -1,
"connect" : -1,
"send" : 0,
"wait" : 161,
"receive" : 1
},
"serverIPAddress" : "74.125.237.112",
"connection" : "4"
}
]
}
}
_HTTPWATCH_RESULTS_
ok($har->string($httpwatch_gmail_string), "Successfully read firebug har archive for https://accounts.google.com");
my ($firstPage) = $har->pages();
ok($firstPage->page_timings()->_renderStart() == 2928, "INPUT: HttpWatch's archive first page pageTimings for _renderStart is 2928");
eval { $firstPage->page_timings->notInTheSpec() };
ok($@ =~ /notInTheSpec is not specified in the HAR 1.2 spec and does not start with an underscore/, "INPUT: Correct exception thrown for a non-conforming field name:$@");
my ($firstEntry) = $har->entries();
ok($firstEntry->response()->redirect_url() eq 'https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F', "INPUT: HttpWatch's archive first entry response has a redirectURL of 'https://www.goog...
ok($firstEntry->response()->content()->compression() == 73, "INPUT: HttpWatch's archive first entry response content has a compression of 73");
ok(not(defined $firstEntry->cache()->before_request()), "INPUT: HttpWatch's archive first entry cache has a undefined beforeRequest");
ok($firstEntry->cache()->after_request()->last_access() eq '2012-04-03T22:13:50.000Z', "INPUT: HttpWatch's archive first entry cache has a afterRequest lastAccess of '2012-04-03T22:13:50.000Z'");
ok($firstEntry->cache()->after_request()->etag() eq '', "INPUT: HttpWatch's archive first entry cache has a afterRequest eTag is set to the empty string");
ok($firstEntry->cache()->after_request()->hit_count() == 1, "INPUT: HttpWatch's archive first entry cache has a afterRequest hitCount is equal to 1");
ok(scalar $firstEntry->request()->cookies() == 1, "INPUT: HttpWatch's archive first entry request has a cookie list with 1 entries");
my ($cookie) = $firstEntry->request->cookies();
ok($cookie->name() eq 'PREF', "INPUT: HttpWatch's archive first entry request cookie has a name of 'PREF'");
ok($cookie->value() eq 'ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS', "INPUT: HttpWatch's archive first entry request cookie has a value of 'ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS'");
ok($cookie->path() eq '/', "INPUT: HttpWatch's archive first entry request cookie has a path of '/'");
ok($cookie->domain() eq '.google.com', "INPUT: HttpWatch's archive first entry request cookie has a domain of '.google.com'");
ok($cookie->expires() eq '2014-04-03T01:32:16.000Z', "INPUT: HttpWatch's archive first entry request cookie has a domain of '2014-04-03T01:32:16.000Z'");
ok((defined $cookie->http_only()) && (not($cookie->http_only())), "INPUT: HttpWatch's archive first entry request cookie has httpOnly set to false");
ok((defined $cookie->secure()) && (not($cookie->secure())), "INPUT: HttpWatch's archive first entry request cookie has secure set to false");
($cookie) = $firstEntry->response()->cookies();
ok($cookie->name() eq 'GAPS', "INPUT: HttpWatch's archive first entry response cookie has a name of 'GAPS'");
ok($cookie->value() eq '1:UXm7kjQDHHUZVCIzJEuqpbo7xhUpSw:pesWZreBW2aeymnv', "INPUT: HttpWatch's archive first entry response cookie has a name of '1:UXm7kjQDHHUZVCIzJEuqpbo7xhUpSw:pesWZreBW2aeymnv'");
ok($cookie->expires() eq '2014-04-03T22:13:46.000Z', "INPUT: HttpWatch's archive first entry response cookie has a expires of '2014-04-03T22:13:46.000Z'");
ok($cookie->path() eq '/', "INPUT: HttpWatch's archive first entry response cookie has a path of '/'");
ok($cookie->http_only(), "INPUT: HttpWatch's archive first entry response cookie has httpOnly set to true");
ok($cookie->secure(), "INPUT: HttpWatch's archive first entry response cookie has secure set to true");
my $firebug_ref = $har->hashref();
ok($firebug_ref->{log}->{pages}->[0]->{pageTimings}->{_renderStart} == 2928, "OUTPUT: HttpWatch's archive first page pageTimings for _renderStart is 2928");
ok($firebug_ref->{log}->{entries}->[0]->{response}->{redirectURL} eq 'https://www.google.com/accounts/recovery?hl=en&gaps&service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F', "OUTPUT: HttpWatch's archive first entry response has a redirect...
ok($firebug_ref->{log}->{entries}->[0]->{response}->{content}->{compression} == 73, "OUTPUT: HttpWatch's archive first entry response content has a compression of 73");
ok((exists $firebug_ref->{log}->{entries}->[0]->{cache}->{beforeRequest}) && (not(defined $firebug_ref->{log}->{entries}->[0]->{beforeRequest})), "OUTPUT: HttpWatch's archive first entry cache has a undefined beforeRequest");
ok($firebug_ref->{log}->{entries}->[0]->{cache}->{afterRequest}->{lastAccess} eq '2012-04-03T22:13:50.000Z', "OUTPUT: HttpWatch's archive first entry cache has a afterRequest lastAccess of '2012-04-03T22:13:50.000Z'");
ok($firebug_ref->{log}->{entries}->[0]->{cache}->{afterRequest}->{eTag} eq '', "OUTPUT: HttpWatch's archive first entry cache has a afterRequest eTag of ''");
ok($firebug_ref->{log}->{entries}->[0]->{cache}->{afterRequest}->{hitCount} == 1, "OUTPUT: HttpWatch's archive first entry cache has a afterRequest hitCount of 1");
ok(scalar @{$firebug_ref->{log}->{entries}->[0]->{request}->{cookies}} == 1, "OUTPUT: HttpWatch's archive first entry request has a cookie list with 1 entries");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{name} eq 'PREF', "OUTPUT: HttpWatch's archive first entry request has a name of 'PREF'");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{value} eq 'ID=31245dd052940995:TM=1333416734:LM=1333416734:S=GVCghq5oz8F4iPqS', "OUTPUT: HttpWatch's archive first entry request has a value of 'ID=31245dd052940995:TM=1333416734:LM=...
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{path} eq '/', "OUTPUT: HttpWatch's archive first entry request has a path of '/'");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{domain} eq '.google.com', "OUTPUT: HttpWatch's archive first entry request has a domain of '.google.com'");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{expires} eq '2014-04-03T01:32:16.000Z', "OUTPUT: HttpWatch's archive first entry request has a expires of '2014-04-03T01:32:16.000Z'");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{httpOnly} eq '0', "OUTPUT: HttpWatch's archive first entry request has a httpOnly set to false");
ok($firebug_ref->{log}->{entries}->[0]->{request}->{cookies}->[0]->{secure} eq '0', "OUTPUT: HttpWatch's archive first entry request has a httpOnly set to false");
ok($firebug_ref->{log}->{entries}->[0]->{response}->{cookies}->[0]->{name} eq 'GAPS', "OUTPUT: HttpWatch's archive first entry response has a name of 'GAPS'");
ok($firebug_ref->{log}->{entries}->[0]->{response}->{cookies}->[0]->{value} eq '1:UXm7kjQDHHUZVCIzJEuqpbo7xhUpSw:pesWZreBW2aeymnv', "OUTPUT: HttpWatch's archive first entry response has a value of '1:UXm7kjQDHHUZVCIzJEuqpbo7xhUpSw:pesWZreBW2aeymnv'")...
ok($firebug_ref->{log}->{entries}->[0]->{response}->{cookies}->[0]->{path} eq '/', "OUTPUT: HttpWatch's archive first entry response has a path of '/'");
( run in 5.237 seconds using v1.01-cache-2.11-cpan-9169edd2b0e )