vcr 0.4.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +34 -0
- data/README.md +89 -21
- data/lib/vcr.rb +12 -1
- data/lib/vcr/cassette.rb +50 -27
- data/lib/vcr/config.rb +9 -0
- data/lib/vcr/deprecations.rb +15 -42
- data/lib/vcr/extensions/net_http.rb +13 -20
- data/lib/vcr/extensions/net_http_response.rb +6 -13
- data/lib/vcr/http_stubbing_adapters/fakeweb.rb +21 -3
- data/lib/vcr/http_stubbing_adapters/webmock.rb +34 -4
- data/lib/vcr/version.rb +16 -0
- metadata +90 -108
- data/.document +0 -5
- data/.gitignore +0 -22
- data/Rakefile +0 -67
- data/VERSION +0 -1
- data/benchmarks/http_stubbing_libraries.rb +0 -59
- data/features/fixtures/vcr_cassettes/1.8.6/cucumber_tags/replay_cassette1.yml +0 -43
- data/features/fixtures/vcr_cassettes/1.8.6/cucumber_tags/replay_cassette2.yml +0 -47
- data/features/fixtures/vcr_cassettes/1.8.6/cucumber_tags/replay_cassette3.yml +0 -85
- data/features/fixtures/vcr_cassettes/1.8.6/nested_replay_cassette.yml +0 -24
- data/features/fixtures/vcr_cassettes/1.8.6/not_the_real_response.yml +0 -43
- data/features/fixtures/vcr_cassettes/1.8.7/cucumber_tags/replay_cassette1.yml +0 -43
- data/features/fixtures/vcr_cassettes/1.8.7/cucumber_tags/replay_cassette2.yml +0 -47
- data/features/fixtures/vcr_cassettes/1.8.7/cucumber_tags/replay_cassette3.yml +0 -85
- data/features/fixtures/vcr_cassettes/1.8.7/nested_replay_cassette.yml +0 -24
- data/features/fixtures/vcr_cassettes/1.8.7/not_the_real_response.yml +0 -43
- data/features/fixtures/vcr_cassettes/1.9.1/cucumber_tags/replay_cassette1.yml +0 -43
- data/features/fixtures/vcr_cassettes/1.9.1/cucumber_tags/replay_cassette2.yml +0 -63
- data/features/fixtures/vcr_cassettes/1.9.1/cucumber_tags/replay_cassette3.yml +0 -85
- data/features/fixtures/vcr_cassettes/1.9.1/nested_replay_cassette.yml +0 -32
- data/features/fixtures/vcr_cassettes/1.9.1/not_the_real_response.yml +0 -43
- data/features/record_response.feature +0 -77
- data/features/replay_recorded_response.feature +0 -69
- data/features/step_definitions/vcr_steps.rb +0 -144
- data/features/support/env.rb +0 -64
- data/lib/vcr/extensions/fake_web.rb +0 -20
- data/lib/vcr/extensions/net_read_adapter.rb +0 -22
- data/spec/cassette_spec.rb +0 -213
- data/spec/config_spec.rb +0 -49
- data/spec/cucumber_tags_spec.rb +0 -71
- data/spec/deprecations_spec.rb +0 -67
- data/spec/extensions/net_http_response_spec.rb +0 -86
- data/spec/extensions/net_http_spec.rb +0 -72
- data/spec/extensions/net_read_adapter_spec.rb +0 -10
- data/spec/fixtures/1.8.6/0_3_1_cassette.yml +0 -29
- data/spec/fixtures/1.8.6/cassette_spec/example.yml +0 -110
- data/spec/fixtures/1.8.6/example_net_http.yml +0 -14
- data/spec/fixtures/1.8.6/example_net_http_request.yml +0 -12
- data/spec/fixtures/1.8.6/example_net_http_response.yml +0 -25
- data/spec/fixtures/1.8.6/fake_example.com_responses.yml +0 -90
- data/spec/fixtures/1.8.7/0_3_1_cassette.yml +0 -29
- data/spec/fixtures/1.8.7/cassette_spec/example.yml +0 -110
- data/spec/fixtures/1.8.7/example_net_http.yml +0 -14
- data/spec/fixtures/1.8.7/example_net_http_request.yml +0 -12
- data/spec/fixtures/1.8.7/example_net_http_response.yml +0 -25
- data/spec/fixtures/1.8.7/fake_example.com_responses.yml +0 -90
- data/spec/fixtures/1.9.1/0_3_1_cassette.yml +0 -29
- data/spec/fixtures/1.9.1/cassette_spec/example.yml +0 -110
- data/spec/fixtures/1.9.1/example_net_http.yml +0 -14
- data/spec/fixtures/1.9.1/example_net_http_request.yml +0 -12
- data/spec/fixtures/1.9.1/example_net_http_response.yml +0 -25
- data/spec/fixtures/1.9.1/fake_example.com_responses.yml +0 -90
- data/spec/http_stubbing_adapters/fakeweb_spec.rb +0 -24
- data/spec/http_stubbing_adapters/webmock_spec.rb +0 -23
- data/spec/spec.opts +0 -2
- data/spec/spec_helper.rb +0 -35
- data/spec/structs_spec.rb +0 -95
- data/spec/support/deprecated.rb +0 -18
- data/spec/support/disable_warnings.rb +0 -12
- data/spec/support/http_stubbing_adapter.rb +0 -113
- data/spec/support/temp_cassette_library_dir.rb +0 -16
- data/spec/task_runner_spec.rb +0 -59
- data/spec/vcr_spec.rb +0 -119
- data/vcr.gemspec +0 -147
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: http://example.com:80/before_nested
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
response: !ruby/struct:VCR::Response
|
9
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
code: 404
|
11
|
-
message: Not Found
|
12
|
-
headers:
|
13
|
-
content-type:
|
14
|
-
- text/html; charset=iso-8859-1
|
15
|
-
connection:
|
16
|
-
- close
|
17
|
-
server:
|
18
|
-
- Apache/2.2.3 (CentOS)
|
19
|
-
date:
|
20
|
-
- Thu, 25 Feb 2010 15:23:39 GMT
|
21
|
-
content-length:
|
22
|
-
- "287"
|
23
|
-
body: The before_nested response
|
24
|
-
http_version: "1.1"
|
25
|
-
- !ruby/struct:VCR::HTTPInteraction
|
26
|
-
request: !ruby/struct:VCR::Request
|
27
|
-
method: :get
|
28
|
-
uri: http://example.com:80/after_nested
|
29
|
-
body:
|
30
|
-
headers:
|
31
|
-
response: !ruby/struct:VCR::Response
|
32
|
-
status: !ruby/struct:VCR::ResponseStatus
|
33
|
-
code: 404
|
34
|
-
message: Not Found
|
35
|
-
headers:
|
36
|
-
content-type:
|
37
|
-
- text/html; charset=iso-8859-1
|
38
|
-
connection:
|
39
|
-
- close
|
40
|
-
server:
|
41
|
-
- Apache/2.2.3 (CentOS)
|
42
|
-
date:
|
43
|
-
- Thu, 25 Feb 2010 15:23:39 GMT
|
44
|
-
content-length:
|
45
|
-
- "286"
|
46
|
-
body: The after_nested response
|
47
|
-
http_version: "1.1"
|
@@ -1,85 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: http://example.com:80/
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
response: !ruby/struct:VCR::Response
|
9
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
headers:
|
13
|
-
etag:
|
14
|
-
- "\"24ec5-1b6-4059a80bfd280\""
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
connection:
|
18
|
-
- Keep-Alive
|
19
|
-
content-type:
|
20
|
-
- text/html; charset=UTF-8
|
21
|
-
date:
|
22
|
-
- Thu, 25 Feb 2010 15:22:32 GMT
|
23
|
-
server:
|
24
|
-
- Apache/2.2.3 (CentOS)
|
25
|
-
content-length:
|
26
|
-
- "438"
|
27
|
-
age:
|
28
|
-
- "2643"
|
29
|
-
accept-ranges:
|
30
|
-
- bytes
|
31
|
-
body: |
|
32
|
-
<HTML>
|
33
|
-
<HEAD>
|
34
|
-
<TITLE>Example Web Page</TITLE>
|
35
|
-
</HEAD>
|
36
|
-
<body>
|
37
|
-
<p>
|
38
|
-
This is not the real response from example.com
|
39
|
-
</p>
|
40
|
-
</BODY>
|
41
|
-
</HTML>
|
42
|
-
|
43
|
-
http_version: "1.1"
|
44
|
-
- !ruby/struct:VCR::HTTPInteraction
|
45
|
-
request: !ruby/struct:VCR::Request
|
46
|
-
method: :get
|
47
|
-
uri: http://example.com:80/
|
48
|
-
body:
|
49
|
-
headers:
|
50
|
-
response: !ruby/struct:VCR::Response
|
51
|
-
status: !ruby/struct:VCR::ResponseStatus
|
52
|
-
code: 200
|
53
|
-
message: OK
|
54
|
-
headers:
|
55
|
-
etag:
|
56
|
-
- "\"24ec5-1b6-4059a80bfd280\""
|
57
|
-
last-modified:
|
58
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
59
|
-
connection:
|
60
|
-
- Keep-Alive
|
61
|
-
content-type:
|
62
|
-
- text/html; charset=UTF-8
|
63
|
-
date:
|
64
|
-
- Thu, 25 Feb 2010 15:22:32 GMT
|
65
|
-
server:
|
66
|
-
- Apache/2.2.3 (CentOS)
|
67
|
-
content-length:
|
68
|
-
- "438"
|
69
|
-
age:
|
70
|
-
- "2643"
|
71
|
-
accept-ranges:
|
72
|
-
- bytes
|
73
|
-
body: |
|
74
|
-
<HTML>
|
75
|
-
<HEAD>
|
76
|
-
<TITLE>Example Web Page</TITLE>
|
77
|
-
</HEAD>
|
78
|
-
<body>
|
79
|
-
<p>
|
80
|
-
This is another fake response from example.com
|
81
|
-
</p>
|
82
|
-
</BODY>
|
83
|
-
</HTML>
|
84
|
-
|
85
|
-
http_version: "1.1"
|
@@ -1,24 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: http://example.com:80/nested
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
response: !ruby/struct:VCR::Response
|
9
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
code: 404
|
11
|
-
message: Not Found
|
12
|
-
headers:
|
13
|
-
content-type:
|
14
|
-
- text/html; charset=iso-8859-1
|
15
|
-
connection:
|
16
|
-
- close
|
17
|
-
server:
|
18
|
-
- Apache/2.2.3 (CentOS)
|
19
|
-
date:
|
20
|
-
- Thu, 25 Feb 2010 15:19:40 GMT
|
21
|
-
content-length:
|
22
|
-
- "280"
|
23
|
-
body: The nested response
|
24
|
-
http_version: "1.1"
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: http://example.com:80/
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
response: !ruby/struct:VCR::Response
|
9
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
headers:
|
13
|
-
etag:
|
14
|
-
- "\"24ec5-1b6-4059a80bfd280\""
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
connection:
|
18
|
-
- Keep-Alive
|
19
|
-
content-type:
|
20
|
-
- text/html; charset=UTF-8
|
21
|
-
date:
|
22
|
-
- Thu, 25 Feb 2010 15:20:47 GMT
|
23
|
-
server:
|
24
|
-
- Apache/2.2.3 (CentOS)
|
25
|
-
content-length:
|
26
|
-
- "438"
|
27
|
-
age:
|
28
|
-
- "2546"
|
29
|
-
accept-ranges:
|
30
|
-
- bytes
|
31
|
-
body: |
|
32
|
-
<HTML>
|
33
|
-
<HEAD>
|
34
|
-
<TITLE>Example Web Page</TITLE>
|
35
|
-
</HEAD>
|
36
|
-
<body>
|
37
|
-
<p>
|
38
|
-
This is not the real response from example.com
|
39
|
-
</p>
|
40
|
-
</BODY>
|
41
|
-
</HTML>
|
42
|
-
|
43
|
-
http_version: "1.1"
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
:request: !ruby/struct:VCR::Request
|
4
|
-
:method: :get
|
5
|
-
:uri: http://example.com:80/
|
6
|
-
:body:
|
7
|
-
:headers:
|
8
|
-
:response: !ruby/struct:VCR::Response
|
9
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
:code: 200
|
11
|
-
:message: OK
|
12
|
-
:headers:
|
13
|
-
server:
|
14
|
-
- Apache/2.2.3 (Red Hat)
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
etag:
|
18
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
19
|
-
accept-ranges:
|
20
|
-
- bytes
|
21
|
-
content-type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
connection:
|
24
|
-
- Keep-Alive
|
25
|
-
date:
|
26
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
27
|
-
age:
|
28
|
-
- "1696"
|
29
|
-
content-length:
|
30
|
-
- "438"
|
31
|
-
:body: |
|
32
|
-
<HTML>
|
33
|
-
<HEAD>
|
34
|
-
<TITLE>Example Web Page</TITLE>
|
35
|
-
</HEAD>
|
36
|
-
<body>
|
37
|
-
<p>
|
38
|
-
This is not the real response from example.com
|
39
|
-
</p>
|
40
|
-
</BODY>
|
41
|
-
</HTML>
|
42
|
-
|
43
|
-
:http_version: "1.1"
|
@@ -1,63 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
:request: !ruby/struct:VCR::Request
|
4
|
-
:method: :get
|
5
|
-
:uri: http://example.com:80/before_nested
|
6
|
-
:body:
|
7
|
-
:headers:
|
8
|
-
:response: !ruby/struct:VCR::Response
|
9
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
:code: 200
|
11
|
-
:message: OK
|
12
|
-
:headers:
|
13
|
-
server:
|
14
|
-
- Apache/2.2.3 (Red Hat)
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
etag:
|
18
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
19
|
-
accept-ranges:
|
20
|
-
- bytes
|
21
|
-
content-type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
connection:
|
24
|
-
- Keep-Alive
|
25
|
-
date:
|
26
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
27
|
-
age:
|
28
|
-
- "1696"
|
29
|
-
content-length:
|
30
|
-
- "438"
|
31
|
-
:body: The before_nested response
|
32
|
-
:http_version: "1.1"
|
33
|
-
- !ruby/struct:VCR::HTTPInteraction
|
34
|
-
:request: !ruby/struct:VCR::Request
|
35
|
-
:method: :get
|
36
|
-
:uri: http://example.com:80/after_nested
|
37
|
-
:body:
|
38
|
-
:headers:
|
39
|
-
:response: !ruby/struct:VCR::Response
|
40
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
41
|
-
:code: 200
|
42
|
-
:message: OK
|
43
|
-
:headers:
|
44
|
-
server:
|
45
|
-
- Apache/2.2.3 (Red Hat)
|
46
|
-
last-modified:
|
47
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
48
|
-
etag:
|
49
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
50
|
-
accept-ranges:
|
51
|
-
- bytes
|
52
|
-
content-type:
|
53
|
-
- text/html; charset=UTF-8
|
54
|
-
connection:
|
55
|
-
- Keep-Alive
|
56
|
-
date:
|
57
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
58
|
-
age:
|
59
|
-
- "1696"
|
60
|
-
content-length:
|
61
|
-
- "438"
|
62
|
-
:body: The after_nested response
|
63
|
-
:http_version: "1.1"
|
@@ -1,85 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
:request: !ruby/struct:VCR::Request
|
4
|
-
:method: :get
|
5
|
-
:uri: http://example.com:80/
|
6
|
-
:body:
|
7
|
-
:headers:
|
8
|
-
:response: !ruby/struct:VCR::Response
|
9
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
:code: 200
|
11
|
-
:message: OK
|
12
|
-
:headers:
|
13
|
-
server:
|
14
|
-
- Apache/2.2.3 (Red Hat)
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
etag:
|
18
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
19
|
-
accept-ranges:
|
20
|
-
- bytes
|
21
|
-
content-type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
connection:
|
24
|
-
- Keep-Alive
|
25
|
-
date:
|
26
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
27
|
-
age:
|
28
|
-
- "1696"
|
29
|
-
content-length:
|
30
|
-
- "438"
|
31
|
-
:body: |
|
32
|
-
<HTML>
|
33
|
-
<HEAD>
|
34
|
-
<TITLE>Example Web Page</TITLE>
|
35
|
-
</HEAD>
|
36
|
-
<body>
|
37
|
-
<p>
|
38
|
-
This is not the real response from example.com
|
39
|
-
</p>
|
40
|
-
</BODY>
|
41
|
-
</HTML>
|
42
|
-
|
43
|
-
:http_version: "1.1"
|
44
|
-
- !ruby/struct:VCR::HTTPInteraction
|
45
|
-
:request: !ruby/struct:VCR::Request
|
46
|
-
:method: :get
|
47
|
-
:uri: http://example.com:80/
|
48
|
-
:body:
|
49
|
-
:headers:
|
50
|
-
:response: !ruby/struct:VCR::Response
|
51
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
52
|
-
:code: 200
|
53
|
-
:message: OK
|
54
|
-
:headers:
|
55
|
-
server:
|
56
|
-
- Apache/2.2.3 (Red Hat)
|
57
|
-
last-modified:
|
58
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
59
|
-
etag:
|
60
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
61
|
-
accept-ranges:
|
62
|
-
- bytes
|
63
|
-
content-type:
|
64
|
-
- text/html; charset=UTF-8
|
65
|
-
connection:
|
66
|
-
- Keep-Alive
|
67
|
-
date:
|
68
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
69
|
-
age:
|
70
|
-
- "1696"
|
71
|
-
content-length:
|
72
|
-
- "438"
|
73
|
-
:body: |
|
74
|
-
<HTML>
|
75
|
-
<HEAD>
|
76
|
-
<TITLE>Example Web Page</TITLE>
|
77
|
-
</HEAD>
|
78
|
-
<body>
|
79
|
-
<p>
|
80
|
-
This is another fake response from example.com
|
81
|
-
</p>
|
82
|
-
</BODY>
|
83
|
-
</HTML>
|
84
|
-
|
85
|
-
:http_version: "1.1"
|
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
:request: !ruby/struct:VCR::Request
|
4
|
-
:method: :get
|
5
|
-
:uri: http://example.com:80/nested
|
6
|
-
:body:
|
7
|
-
:headers:
|
8
|
-
:response: !ruby/struct:VCR::Response
|
9
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
:code: 200
|
11
|
-
:message: OK
|
12
|
-
:headers:
|
13
|
-
server:
|
14
|
-
- Apache/2.2.3 (Red Hat)
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
etag:
|
18
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
19
|
-
accept-ranges:
|
20
|
-
- bytes
|
21
|
-
content-type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
connection:
|
24
|
-
- Keep-Alive
|
25
|
-
date:
|
26
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
27
|
-
age:
|
28
|
-
- "1696"
|
29
|
-
content-length:
|
30
|
-
- "438"
|
31
|
-
:body: The nested response
|
32
|
-
:http_version: "1.1"
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
:request: !ruby/struct:VCR::Request
|
4
|
-
:method: :get
|
5
|
-
:uri: http://example.com:80/
|
6
|
-
:body:
|
7
|
-
:headers:
|
8
|
-
:response: !ruby/struct:VCR::Response
|
9
|
-
:status: !ruby/struct:VCR::ResponseStatus
|
10
|
-
:code: 200
|
11
|
-
:message: OK
|
12
|
-
:headers:
|
13
|
-
server:
|
14
|
-
- Apache/2.2.3 (Red Hat)
|
15
|
-
last-modified:
|
16
|
-
- Tue, 15 Nov 2005 13:24:10 GMT
|
17
|
-
etag:
|
18
|
-
- "\"b300b4-1b6-4059a80bfd280\""
|
19
|
-
accept-ranges:
|
20
|
-
- bytes
|
21
|
-
content-type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
connection:
|
24
|
-
- Keep-Alive
|
25
|
-
date:
|
26
|
-
- Thu, 28 Jan 2010 07:14:48 GMT
|
27
|
-
age:
|
28
|
-
- "1696"
|
29
|
-
content-length:
|
30
|
-
- "438"
|
31
|
-
:body: |
|
32
|
-
<HTML>
|
33
|
-
<HEAD>
|
34
|
-
<TITLE>Example Web Page</TITLE>
|
35
|
-
</HEAD>
|
36
|
-
<body>
|
37
|
-
<p>
|
38
|
-
This is not the real response from example.com
|
39
|
-
</p>
|
40
|
-
</BODY>
|
41
|
-
</HTML>
|
42
|
-
|
43
|
-
:http_version: "1.1"
|