polipus 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.document +5 -0
- data/.gitignore +53 -0
- data/.rspec +2 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +20 -0
- data/README.md +55 -0
- data/README.rdoc +3 -0
- data/Rakefile +9 -0
- data/examples/basic.rb +58 -0
- data/examples/survival.rb +9 -0
- data/lib/polipus.rb +451 -0
- data/lib/polipus/http.rb +195 -0
- data/lib/polipus/page.rb +219 -0
- data/lib/polipus/plugin.rb +13 -0
- data/lib/polipus/plugins/cleaner.rb +25 -0
- data/lib/polipus/plugins/sample.rb +17 -0
- data/lib/polipus/plugins/sleeper.rb +22 -0
- data/lib/polipus/queue_overflow.rb +24 -0
- data/lib/polipus/queue_overflow/base.rb +6 -0
- data/lib/polipus/queue_overflow/dev_null_queue.rb +33 -0
- data/lib/polipus/queue_overflow/manager.rb +50 -0
- data/lib/polipus/queue_overflow/mongo_queue.rb +61 -0
- data/lib/polipus/queue_overflow/mongo_queue_capped.rb +28 -0
- data/lib/polipus/storage.rb +31 -0
- data/lib/polipus/storage/base.rb +17 -0
- data/lib/polipus/storage/dev_null.rb +35 -0
- data/lib/polipus/storage/mongo_store.rb +86 -0
- data/lib/polipus/storage/s3_store.rb +100 -0
- data/lib/polipus/url_tracker.rb +20 -0
- data/lib/polipus/url_tracker/bloomfilter.rb +27 -0
- data/lib/polipus/url_tracker/redis_set.rb +27 -0
- data/lib/polipus/version.rb +4 -0
- data/polipus.gemspec +39 -0
- data/spec/cassettes/08b228db424a926e1ed6ab63b38d847e.yml +166 -0
- data/spec/cassettes/20aa41f181b49f00078c3ca30bad5afe.yml +166 -0
- data/spec/cassettes/4640919145753505af2d0f8423de37f3.yml +270 -0
- data/spec/cassettes/66aae15a03f4aab8efd15e40d2d7882a.yml +194 -0
- data/spec/cassettes/76b7c197c95a5bf9b1e882c567192d72.yml +183 -0
- data/spec/cassettes/9b1d523b7f5db7214f8a8bd9272cccba.yml +221 -0
- data/spec/cassettes/ab333f89535a2efb284913fede6aa7c7.yml +221 -0
- data/spec/cassettes/ae5d7cffde3f53122cdf79f3d1367e8e.yml +221 -0
- data/spec/cassettes/ffe3d588b6df4b9de35e5a7ccaf5a81b.yml +695 -0
- data/spec/cassettes/http_test.yml +1418 -0
- data/spec/cassettes/http_test_redirect.yml +71 -0
- data/spec/clear.rb +11 -0
- data/spec/http_spec.rb +31 -0
- data/spec/page_spec.rb +22 -0
- data/spec/queue_overflow_manager_spec.rb +89 -0
- data/spec/queue_overflow_spec.rb +71 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/storage_mongo_spec.rb +102 -0
- data/spec/storage_s3_spec.rb +115 -0
- data/spec/url_tracker_spec.rb +28 -0
- metadata +313 -0
@@ -0,0 +1,183 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
response:
|
10
|
+
status:
|
11
|
+
code: 200
|
12
|
+
message: OK
|
13
|
+
body:
|
14
|
+
encoding: US-ASCII
|
15
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
16
|
+
|
17
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
18
|
+
http_version:
|
19
|
+
recorded_at: Thu, 18 Jul 2013 11:04:27 GMT
|
20
|
+
- request:
|
21
|
+
method: put
|
22
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
23
|
+
body:
|
24
|
+
encoding: ASCII-8BIT
|
25
|
+
string: !binary |-
|
26
|
+
eJxVTUtugzAQvcus3WDXiLRu1F0i5QyhQsYeAqqxkRkLRSh3rwvqoqs37zsr
|
27
|
+
pOhAQU80qaJYluVwD+Hu8GDCCAx61BbjnBN14pyXdbtuR3WtN0UIEzyhpxd6
|
28
|
+
TLhbaofz5fYvyvlOP3ZyyettsI88feppdJ+nYoMsu8F/55e3LwYmWAQluWBg
|
29
|
+
caIeFGcQscOIMTfhl9ghoqGGwp8wT8HP2NAw5q5PzjHokEyPFhTFhAzSjLGx
|
30
|
+
mjSo9ZlpGrIFaKuy0lLK0ui3d9FZWVZH2wop5PFVlByeP+6GXVA=
|
31
|
+
response:
|
32
|
+
status:
|
33
|
+
code: 200
|
34
|
+
message: OK
|
35
|
+
body:
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: ''
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Jul 2013 11:04:27 GMT
|
40
|
+
- request:
|
41
|
+
method: head
|
42
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
|
+
response:
|
47
|
+
status:
|
48
|
+
code: 200
|
49
|
+
message: OK
|
50
|
+
body:
|
51
|
+
encoding: US-ASCII
|
52
|
+
string: ''
|
53
|
+
http_version:
|
54
|
+
recorded_at: Thu, 18 Jul 2013 11:04:27 GMT
|
55
|
+
- request:
|
56
|
+
method: delete
|
57
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
58
|
+
body:
|
59
|
+
encoding: US-ASCII
|
60
|
+
string: ''
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 204
|
64
|
+
message: No Content
|
65
|
+
body:
|
66
|
+
encoding: US-ASCII
|
67
|
+
string: ''
|
68
|
+
http_version:
|
69
|
+
recorded_at: Thu, 18 Jul 2013 11:04:28 GMT
|
70
|
+
- request:
|
71
|
+
method: head
|
72
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
73
|
+
body:
|
74
|
+
encoding: US-ASCII
|
75
|
+
string: ''
|
76
|
+
response:
|
77
|
+
status:
|
78
|
+
code: 404
|
79
|
+
message: Not Found
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ''
|
83
|
+
http_version:
|
84
|
+
recorded_at: Thu, 18 Jul 2013 11:04:28 GMT
|
85
|
+
- request:
|
86
|
+
method: get
|
87
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 200
|
94
|
+
message: OK
|
95
|
+
body:
|
96
|
+
encoding: US-ASCII
|
97
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
98
|
+
|
99
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
100
|
+
http_version:
|
101
|
+
recorded_at: Thu, 18 Jul 2013 11:04:28 GMT
|
102
|
+
- request:
|
103
|
+
method: get
|
104
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
105
|
+
body:
|
106
|
+
encoding: US-ASCII
|
107
|
+
string: ''
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
body:
|
113
|
+
encoding: US-ASCII
|
114
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
115
|
+
|
116
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
117
|
+
http_version:
|
118
|
+
recorded_at: Thu, 18 Jul 2013 11:04:29 GMT
|
119
|
+
- request:
|
120
|
+
method: get
|
121
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
122
|
+
body:
|
123
|
+
encoding: US-ASCII
|
124
|
+
string: ''
|
125
|
+
response:
|
126
|
+
status:
|
127
|
+
code: 200
|
128
|
+
message: OK
|
129
|
+
body:
|
130
|
+
encoding: US-ASCII
|
131
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
132
|
+
|
133
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
134
|
+
http_version:
|
135
|
+
recorded_at: Thu, 18 Jul 2013 11:04:29 GMT
|
136
|
+
- request:
|
137
|
+
method: delete
|
138
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
139
|
+
body:
|
140
|
+
encoding: US-ASCII
|
141
|
+
string: ''
|
142
|
+
response:
|
143
|
+
status:
|
144
|
+
code: 204
|
145
|
+
message: No Content
|
146
|
+
body:
|
147
|
+
encoding: US-ASCII
|
148
|
+
string: ''
|
149
|
+
http_version:
|
150
|
+
recorded_at: Thu, 18 Jul 2013 11:04:29 GMT
|
151
|
+
- request:
|
152
|
+
method: put
|
153
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ''
|
157
|
+
response:
|
158
|
+
status:
|
159
|
+
code: 200
|
160
|
+
message: OK
|
161
|
+
body:
|
162
|
+
encoding: US-ASCII
|
163
|
+
string: ''
|
164
|
+
http_version:
|
165
|
+
recorded_at: Thu, 18 Jul 2013 11:04:29 GMT
|
166
|
+
- request:
|
167
|
+
method: get
|
168
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
169
|
+
body:
|
170
|
+
encoding: US-ASCII
|
171
|
+
string: ''
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: OK
|
176
|
+
body:
|
177
|
+
encoding: US-ASCII
|
178
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
179
|
+
|
180
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
181
|
+
http_version:
|
182
|
+
recorded_at: Thu, 18 Jul 2013 11:04:30 GMT
|
183
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
response:
|
10
|
+
status:
|
11
|
+
code: 200
|
12
|
+
message: OK
|
13
|
+
body:
|
14
|
+
encoding: US-ASCII
|
15
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
16
|
+
|
17
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
18
|
+
http_version:
|
19
|
+
recorded_at: Thu, 18 Jul 2013 11:04:30 GMT
|
20
|
+
- request:
|
21
|
+
method: put
|
22
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
23
|
+
body:
|
24
|
+
encoding: ASCII-8BIT
|
25
|
+
string: !binary |-
|
26
|
+
eJxVT81ugzAMfpXKZ1oCZRvNqp62SrtvpzKhkBiBBgkKjlCF+u4zoB12sr9f
|
27
|
+
yzME34GEhmiQcTxN0yGM6A/a9RBBg8qgH1kvghAiK6p5XZ4/ipVJEu0soaU9
|
28
|
+
3QfcJLmN9+vtn1WIDb5u4MrtlTN3rj431HeXc7wOprvW/vDJ23cE2hkEmQoR
|
29
|
+
gcGBGpC8eazRo+ckLMC0HjWV5P6IcXB2xJLanrM2dF0ENZJu0IAkHzCC5cPS
|
30
|
+
KFIgZ7Bq8cEnjrT7YmH3tggPdoWWE1DndaKOymQ6ValJc6yfcsxO1THRiXrR
|
31
|
+
FTx+Af2aZT4=
|
32
|
+
response:
|
33
|
+
status:
|
34
|
+
code: 200
|
35
|
+
message: OK
|
36
|
+
body:
|
37
|
+
encoding: US-ASCII
|
38
|
+
string: ''
|
39
|
+
http_version:
|
40
|
+
recorded_at: Thu, 18 Jul 2013 11:04:30 GMT
|
41
|
+
- request:
|
42
|
+
method: head
|
43
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: ''
|
47
|
+
response:
|
48
|
+
status:
|
49
|
+
code: 200
|
50
|
+
message: OK
|
51
|
+
body:
|
52
|
+
encoding: US-ASCII
|
53
|
+
string: ''
|
54
|
+
http_version:
|
55
|
+
recorded_at: Thu, 18 Jul 2013 11:04:31 GMT
|
56
|
+
- request:
|
57
|
+
method: head
|
58
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
response:
|
63
|
+
status:
|
64
|
+
code: 200
|
65
|
+
message: OK
|
66
|
+
body:
|
67
|
+
encoding: US-ASCII
|
68
|
+
string: ''
|
69
|
+
http_version:
|
70
|
+
recorded_at: Thu, 18 Jul 2013 11:04:31 GMT
|
71
|
+
- request:
|
72
|
+
method: get
|
73
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages?marker=f8f1a3ad4c2a2d28ef58e49b31c1a7ca&max-keys=1
|
74
|
+
body:
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ''
|
77
|
+
response:
|
78
|
+
status:
|
79
|
+
code: 200
|
80
|
+
message: OK
|
81
|
+
body:
|
82
|
+
encoding: US-ASCII
|
83
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
84
|
+
|
85
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker>f8f1a3ad4c2a2d28ef58e49b31c1a7ca</Marker><MaxKeys>1</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>f8f1a3ad4c2a2d28ef58e49b31c1a7cb</Key><LastModified>2013-07-18T11:04:15.000Z</LastModified><ETag>"0601b96a434b5162e3c561d3d95e5b17"</ETag><Size>233</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
86
|
+
http_version:
|
87
|
+
recorded_at: Thu, 18 Jul 2013 11:04:31 GMT
|
88
|
+
- request:
|
89
|
+
method: get
|
90
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
91
|
+
body:
|
92
|
+
encoding: US-ASCII
|
93
|
+
string: ''
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: !binary |-
|
98
|
+
T0s=
|
99
|
+
body:
|
100
|
+
encoding: ASCII-8BIT
|
101
|
+
string: !binary |-
|
102
|
+
eJxVT81ugzAMfpXKZ1oCZRvNqp62SrtvpzKhkBiBBgkKjlCF+u4zoB12sr9f
|
103
|
+
yzME34GEhmiQcTxN0yGM6A/a9RBBg8qgH1kvghAiK6p5XZ4/ipVJEu0soaU9
|
104
|
+
3QfcJLmN9+vtn1WIDb5u4MrtlTN3rj431HeXc7wOprvW/vDJ23cE2hkEmQoR
|
105
|
+
gcGBGpC8eazRo+ckLMC0HjWV5P6IcXB2xJLanrM2dF0ENZJu0IAkHzCC5cPS
|
106
|
+
KFIgZ7Bq8cEnjrT7YmH3tggPdoWWE1DndaKOymQ6ValJc6yfcsxO1THRiXrR
|
107
|
+
FTx+Af2aZT4=
|
108
|
+
http_version:
|
109
|
+
recorded_at: Thu, 18 Jul 2013 11:04:32 GMT
|
110
|
+
- request:
|
111
|
+
method: head
|
112
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ''
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ''
|
123
|
+
http_version:
|
124
|
+
recorded_at: Thu, 18 Jul 2013 11:04:32 GMT
|
125
|
+
- request:
|
126
|
+
method: delete
|
127
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/f8f1a3ad4c2a2d28ef58e49b31c1a7cb
|
128
|
+
body:
|
129
|
+
encoding: US-ASCII
|
130
|
+
string: ''
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 204
|
134
|
+
message: No Content
|
135
|
+
body:
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ''
|
138
|
+
http_version:
|
139
|
+
recorded_at: Thu, 18 Jul 2013 11:04:32 GMT
|
140
|
+
- request:
|
141
|
+
method: get
|
142
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
143
|
+
body:
|
144
|
+
encoding: US-ASCII
|
145
|
+
string: ''
|
146
|
+
response:
|
147
|
+
status:
|
148
|
+
code: 200
|
149
|
+
message: OK
|
150
|
+
body:
|
151
|
+
encoding: US-ASCII
|
152
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
153
|
+
|
154
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
155
|
+
http_version:
|
156
|
+
recorded_at: Thu, 18 Jul 2013 11:04:32 GMT
|
157
|
+
- request:
|
158
|
+
method: get
|
159
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
160
|
+
body:
|
161
|
+
encoding: US-ASCII
|
162
|
+
string: ''
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
body:
|
168
|
+
encoding: US-ASCII
|
169
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
170
|
+
|
171
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
172
|
+
http_version:
|
173
|
+
recorded_at: Thu, 18 Jul 2013 11:04:33 GMT
|
174
|
+
- request:
|
175
|
+
method: delete
|
176
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
177
|
+
body:
|
178
|
+
encoding: US-ASCII
|
179
|
+
string: ''
|
180
|
+
response:
|
181
|
+
status:
|
182
|
+
code: 204
|
183
|
+
message: No Content
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ''
|
187
|
+
http_version:
|
188
|
+
recorded_at: Thu, 18 Jul 2013 11:04:33 GMT
|
189
|
+
- request:
|
190
|
+
method: put
|
191
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
192
|
+
body:
|
193
|
+
encoding: US-ASCII
|
194
|
+
string: ''
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
body:
|
200
|
+
encoding: US-ASCII
|
201
|
+
string: ''
|
202
|
+
http_version:
|
203
|
+
recorded_at: Thu, 18 Jul 2013 11:04:34 GMT
|
204
|
+
- request:
|
205
|
+
method: get
|
206
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
207
|
+
body:
|
208
|
+
encoding: US-ASCII
|
209
|
+
string: ''
|
210
|
+
response:
|
211
|
+
status:
|
212
|
+
code: 200
|
213
|
+
message: OK
|
214
|
+
body:
|
215
|
+
encoding: US-ASCII
|
216
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
217
|
+
|
218
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
219
|
+
http_version:
|
220
|
+
recorded_at: Thu, 18 Jul 2013 11:04:34 GMT
|
221
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
response:
|
10
|
+
status:
|
11
|
+
code: 200
|
12
|
+
message: OK
|
13
|
+
body:
|
14
|
+
encoding: US-ASCII
|
15
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
16
|
+
|
17
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
18
|
+
http_version:
|
19
|
+
recorded_at: Thu, 18 Jul 2013 11:04:56 GMT
|
20
|
+
- request:
|
21
|
+
method: put
|
22
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
23
|
+
body:
|
24
|
+
encoding: ASCII-8BIT
|
25
|
+
string: !binary |-
|
26
|
+
eJxVTUtugzAQvcus3WDXiLRu1F0i5QyhQsYeAqqxkRkLRSh3rwvqoqs37zsr
|
27
|
+
pOhAQU80qaJYluVwD+Hu8GDCCAx61BbjnBN14pyXdbtuR3WtN0UIEzyhpxd6
|
28
|
+
TLhbaofz5fYvyvlOP3ZyyettsI88feppdJ+nYoMsu8F/55e3LwYmWAQluWBg
|
29
|
+
caIeFGcQscOIMTfhl9ghoqGGwp8wT8HP2NAw5q5PzjHokEyPFhTFhAzSjLGx
|
30
|
+
mjSo9ZlpGrIFaKuy0lLK0ui3d9FZWVZH2wop5PFVlByeP+6GXVA=
|
31
|
+
response:
|
32
|
+
status:
|
33
|
+
code: 200
|
34
|
+
message: OK
|
35
|
+
body:
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: ''
|
38
|
+
http_version:
|
39
|
+
recorded_at: Thu, 18 Jul 2013 11:04:56 GMT
|
40
|
+
- request:
|
41
|
+
method: head
|
42
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
46
|
+
response:
|
47
|
+
status:
|
48
|
+
code: 200
|
49
|
+
message: OK
|
50
|
+
body:
|
51
|
+
encoding: US-ASCII
|
52
|
+
string: ''
|
53
|
+
http_version:
|
54
|
+
recorded_at: Thu, 18 Jul 2013 11:04:57 GMT
|
55
|
+
- request:
|
56
|
+
method: get
|
57
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages?marker=ed646a3334ca891fd3467db13137214/&max-keys=1
|
58
|
+
body:
|
59
|
+
encoding: US-ASCII
|
60
|
+
string: ''
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
body:
|
66
|
+
encoding: US-ASCII
|
67
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
68
|
+
|
69
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker>ed646a3334ca891fd3467db13137214/</Marker><MaxKeys>1</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>ed646a3334ca891fd3467db131372140</Key><LastModified>2013-07-18T11:04:41.000Z</LastModified><ETag>"95b3a8969dc091b729e61cec1820bde8"</ETag><Size>218</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
70
|
+
http_version:
|
71
|
+
recorded_at: Thu, 18 Jul 2013 11:04:57 GMT
|
72
|
+
- request:
|
73
|
+
method: get
|
74
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
75
|
+
body:
|
76
|
+
encoding: US-ASCII
|
77
|
+
string: ''
|
78
|
+
response:
|
79
|
+
status:
|
80
|
+
code: 200
|
81
|
+
message: !binary |-
|
82
|
+
T0s=
|
83
|
+
body:
|
84
|
+
encoding: ASCII-8BIT
|
85
|
+
string: !binary |-
|
86
|
+
eJxVTUtugzAQvcus3WDXiLRu1F0i5QyhQsYeAqqxkRkLRSh3rwvqoqs37zsr
|
87
|
+
pOhAQU80qaJYluVwD+Hu8GDCCAx61BbjnBN14pyXdbtuR3WtN0UIEzyhpxd6
|
88
|
+
TLhbaofz5fYvyvlOP3ZyyettsI88feppdJ+nYoMsu8F/55e3LwYmWAQluWBg
|
89
|
+
caIeFGcQscOIMTfhl9ghoqGGwp8wT8HP2NAw5q5PzjHokEyPFhTFhAzSjLGx
|
90
|
+
mjSo9ZlpGrIFaKuy0lLK0ui3d9FZWVZH2wop5PFVlByeP+6GXVA=
|
91
|
+
http_version:
|
92
|
+
recorded_at: Thu, 18 Jul 2013 11:04:57 GMT
|
93
|
+
- request:
|
94
|
+
method: get
|
95
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
96
|
+
body:
|
97
|
+
encoding: US-ASCII
|
98
|
+
string: ''
|
99
|
+
response:
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
body:
|
104
|
+
encoding: US-ASCII
|
105
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
106
|
+
|
107
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>ed646a3334ca891fd3467db131372140</Key><LastModified>2013-07-18T11:04:41.000Z</LastModified><ETag>"95b3a8969dc091b729e61cec1820bde8"</ETag><Size>218</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
108
|
+
http_version:
|
109
|
+
recorded_at: Thu, 18 Jul 2013 11:04:57 GMT
|
110
|
+
- request:
|
111
|
+
method: head
|
112
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ''
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ''
|
123
|
+
http_version:
|
124
|
+
recorded_at: Thu, 18 Jul 2013 11:04:58 GMT
|
125
|
+
- request:
|
126
|
+
method: delete
|
127
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/ed646a3334ca891fd3467db131372140
|
128
|
+
body:
|
129
|
+
encoding: US-ASCII
|
130
|
+
string: ''
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 204
|
134
|
+
message: No Content
|
135
|
+
body:
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ''
|
138
|
+
http_version:
|
139
|
+
recorded_at: Thu, 18 Jul 2013 11:04:58 GMT
|
140
|
+
- request:
|
141
|
+
method: get
|
142
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
143
|
+
body:
|
144
|
+
encoding: US-ASCII
|
145
|
+
string: ''
|
146
|
+
response:
|
147
|
+
status:
|
148
|
+
code: 200
|
149
|
+
message: OK
|
150
|
+
body:
|
151
|
+
encoding: US-ASCII
|
152
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
153
|
+
|
154
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
155
|
+
http_version:
|
156
|
+
recorded_at: Thu, 18 Jul 2013 11:04:58 GMT
|
157
|
+
- request:
|
158
|
+
method: get
|
159
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
160
|
+
body:
|
161
|
+
encoding: US-ASCII
|
162
|
+
string: ''
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
body:
|
168
|
+
encoding: US-ASCII
|
169
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
170
|
+
|
171
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
172
|
+
http_version:
|
173
|
+
recorded_at: Thu, 18 Jul 2013 11:04:59 GMT
|
174
|
+
- request:
|
175
|
+
method: delete
|
176
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
177
|
+
body:
|
178
|
+
encoding: US-ASCII
|
179
|
+
string: ''
|
180
|
+
response:
|
181
|
+
status:
|
182
|
+
code: 204
|
183
|
+
message: No Content
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ''
|
187
|
+
http_version:
|
188
|
+
recorded_at: Thu, 18 Jul 2013 11:04:59 GMT
|
189
|
+
- request:
|
190
|
+
method: put
|
191
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
192
|
+
body:
|
193
|
+
encoding: US-ASCII
|
194
|
+
string: ''
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
body:
|
200
|
+
encoding: US-ASCII
|
201
|
+
string: ''
|
202
|
+
http_version:
|
203
|
+
recorded_at: Thu, 18 Jul 2013 11:04:59 GMT
|
204
|
+
- request:
|
205
|
+
method: get
|
206
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
207
|
+
body:
|
208
|
+
encoding: US-ASCII
|
209
|
+
string: ''
|
210
|
+
response:
|
211
|
+
status:
|
212
|
+
code: 200
|
213
|
+
message: OK
|
214
|
+
body:
|
215
|
+
encoding: US-ASCII
|
216
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
217
|
+
|
218
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
219
|
+
http_version:
|
220
|
+
recorded_at: Thu, 18 Jul 2013 11:04:59 GMT
|
221
|
+
recorded_with: VCR 2.5.0
|