vcr_cassettes/xkcd.yml in scrapers-0.4.0 vs vcr_cassettes/xkcd.yml in scrapers-0.4.1

- old
+ new

@@ -1,40 +1,9 @@ --- http_interactions: - request: method: get - uri: http://xkcd.com/149 - body: - encoding: US-ASCII - string: '' - headers: - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - '*/*' - User-Agent: - - Ruby - response: - status: - code: 301 - message: Moved Permanently - headers: - Location: - - http://xkcd.com/149/ - Content-Length: - - '0' - Date: - - Mon, 14 Oct 2013 05:13:16 GMT - Server: - - lighttpd/1.4.28 - body: - encoding: UTF-8 - string: '' - http_version: - recorded_at: Mon, 14 Oct 2013 05:13:17 GMT -- request: - method: get uri: http://xkcd.com/149/ body: encoding: US-ASCII string: '' headers: @@ -60,11 +29,11 @@ Accept-Ranges: - bytes Content-Length: - '2685' Date: - - Mon, 14 Oct 2013 05:13:17 GMT + - Mon, 14 Oct 2013 06:17:09 GMT Server: - lighttpd/1.4.28 body: encoding: UTF-8 string: |+ @@ -199,7 +168,48 @@ </body> <!-- Layout by Ian Clasbey, davean, and chromakode --> </html> http_version: - recorded_at: Mon, 14 Oct 2013 05:13:17 GMT + recorded_at: Mon, 14 Oct 2013 06:17:09 GMT +- request: + method: head + uri: http://imgs.xkcd.com/comics/sandwich.png + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - '*/*' + User-Agent: + - Ruby + Host: + - imgs.xkcd.com + response: + status: + code: 200 + message: OK + headers: + Cache-Control: + - public, max-age=300 + Expires: + - Mon, 14 Oct 2013 06:22:09 GMT + Content-Type: + - image/png + Accept-Ranges: + - bytes + Etag: + - '"3713411858"' + Last-Modified: + - Mon, 01 Feb 2010 13:18:16 GMT + Content-Length: + - '11828' + Date: + - Mon, 14 Oct 2013 06:17:09 GMT + Server: + - lighttpd/1.4.28 + body: + encoding: UTF-8 + string: '' + http_version: + recorded_at: Mon, 14 Oct 2013 06:17:09 GMT recorded_with: VCR 2.5.0