unwind 0.9.1 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/unwind/version.rb +1 -1
- data/lib/unwind.rb +17 -9
- data/test/redirect_follower_test.rb +51 -2
- data/unwind.gemspec +1 -1
- data/vcr_cassettes/amazon.yml +1579 -0
- data/vcr_cassettes/missing_redirect.yml +31 -0
- data/vcr_cassettes/pdf.yml +3708 -0
- data/vcr_cassettes/relative_stackoverflow.yml +471 -0
- data/vcr_cassettes/relative_stackoverflow_2.yml +384 -0
- data/vcr_cassettes/ssl_tpope.yml +336 -0
- metadata +24 -7
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://tinyurl.com:80/6oqzkff
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept-encoding:
|
9
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 301
|
13
|
+
message: Moved Permanently
|
14
|
+
headers:
|
15
|
+
x-powered-by:
|
16
|
+
- PHP/5.3.8
|
17
|
+
set-cookie:
|
18
|
+
- tinyUUID=f3ad99e35f5aad3f12c4f303; expires=Wed, 13-Feb-2013 22:00:58 GMT;
|
19
|
+
path=/; domain=.tinyurl.com
|
20
|
+
x-tiny:
|
21
|
+
- cache 0.00062990188598633
|
22
|
+
content-type:
|
23
|
+
- text/html
|
24
|
+
content-length:
|
25
|
+
- '0'
|
26
|
+
date:
|
27
|
+
- Tue, 14 Feb 2012 22:00:58 GMT
|
28
|
+
server:
|
29
|
+
- TinyURL/1.6
|
30
|
+
body:
|
31
|
+
http_version: '1.1'
|