contentful 1.2.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/LICENSE.txt +1 -0
- data/README.md +8 -0
- data/contentful.gemspec +2 -1
- data/examples/custom_classes.rb +23 -26
- data/examples/raise_errors.rb +2 -2
- data/lib/contentful.rb +0 -1
- data/lib/contentful/array.rb +27 -19
- data/lib/contentful/array_like.rb +51 -0
- data/lib/contentful/asset.rb +43 -11
- data/lib/contentful/base_resource.rb +87 -0
- data/lib/contentful/client.rb +43 -34
- data/lib/contentful/coercions.rb +116 -0
- data/lib/contentful/content_type.rb +23 -8
- data/lib/contentful/content_type_cache.rb +26 -0
- data/lib/contentful/deleted_asset.rb +2 -5
- data/lib/contentful/deleted_entry.rb +2 -5
- data/lib/contentful/entry.rb +55 -33
- data/lib/contentful/error.rb +1 -1
- data/lib/contentful/field.rb +37 -9
- data/lib/contentful/fields_resource.rb +115 -0
- data/lib/contentful/file.rb +7 -8
- data/lib/contentful/link.rb +3 -6
- data/lib/contentful/locale.rb +6 -6
- data/lib/contentful/location.rb +7 -5
- data/lib/contentful/resource_builder.rb +72 -226
- data/lib/contentful/space.rb +16 -6
- data/lib/contentful/support.rb +41 -3
- data/lib/contentful/sync_page.rb +17 -10
- data/lib/contentful/version.rb +1 -1
- data/spec/array_spec.rb +4 -8
- data/spec/client_class_spec.rb +12 -23
- data/spec/client_configuration_spec.rb +13 -23
- data/spec/content_type_spec.rb +0 -5
- data/spec/entry_spec.rb +130 -125
- data/spec/error_requests_spec.rb +1 -1
- data/spec/field_spec.rb +0 -5
- data/spec/file_spec.rb +0 -5
- data/spec/fixtures/vcr_cassettes/entry.yml +54 -64
- data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +101 -0
- data/spec/fixtures/vcr_cassettes/entry/marshall.yml +227 -251
- data/spec/fixtures/vcr_cassettes/entry/raw.yml +88 -124
- data/spec/fixtures/vcr_cassettes/entry_locales.yml +56 -74
- data/spec/fixtures/vcr_cassettes/human.yml +63 -40
- data/spec/fixtures/vcr_cassettes/location.yml +99 -211
- data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +12 -16
- data/spec/fixtures/vcr_cassettes/not_found.yml +26 -21
- data/spec/fixtures/vcr_cassettes/nyancat.yml +53 -63
- data/spec/fixtures/vcr_cassettes/ratelimit.yml +1 -1
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +54 -64
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +1 -1
- data/spec/fixtures/vcr_cassettes/unavailable.yml +27 -15
- data/spec/link_spec.rb +3 -2
- data/spec/locale_spec.rb +0 -5
- data/spec/location_spec.rb +1 -6
- data/spec/request_spec.rb +3 -2
- data/spec/resource_building_spec.rb +10 -7
- data/spec/response_spec.rb +1 -1
- data/spec/space_spec.rb +0 -5
- data/spec/spec_helper.rb +3 -0
- data/spec/support/json_responses.rb +3 -3
- data/spec/sync_page_spec.rb +1 -6
- data/spec/sync_spec.rb +11 -7
- metadata +69 -20
- data/examples/dynamic_entries.rb +0 -124
- data/examples/resource_mapping.rb +0 -32
- data/lib/contentful/constants.rb +0 -504
- data/lib/contentful/dynamic_entry.rb +0 -57
- data/lib/contentful/resource.rb +0 -239
- data/lib/contentful/resource/array_like.rb +0 -39
- data/lib/contentful/resource/asset_fields.rb +0 -58
- data/lib/contentful/resource/custom_resource.rb +0 -29
- data/lib/contentful/resource/fields.rb +0 -73
- data/lib/contentful/resource/system_properties.rb +0 -55
- data/spec/coercions_spec.rb +0 -23
- data/spec/dynamic_entry_spec.rb +0 -75
- data/spec/resource_spec.rb +0 -79
@@ -2,17 +2,21 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/entries
|
5
|
+
uri: https://cdn.contentful.com/spaces/cfexampleapi/entries?sys.id=finn
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- RubyContentfulGem/
|
11
|
+
- RubyContentfulGem/1.2.0
|
12
12
|
Authorization:
|
13
13
|
- Bearer b4c0n73n7fu1
|
14
14
|
Content-Type:
|
15
15
|
- application/vnd.contentful.delivery.v1+json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip
|
18
|
+
Connection:
|
19
|
+
- close
|
16
20
|
Host:
|
17
21
|
- cdn.contentful.com
|
18
22
|
response:
|
@@ -20,16 +24,14 @@ http_interactions:
|
|
20
24
|
code: 200
|
21
25
|
message: OK
|
22
26
|
headers:
|
23
|
-
Date:
|
24
|
-
- Fri, 18 Apr 2014 17:56:56 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
27
|
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
28
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
|
29
29
|
Access-Control-Allow-Methods:
|
30
30
|
- GET,HEAD,OPTIONS
|
31
31
|
Access-Control-Allow-Origin:
|
32
32
|
- "*"
|
33
|
+
Access-Control-Expose-Headers:
|
34
|
+
- Etag
|
33
35
|
Access-Control-Max-Age:
|
34
36
|
- '86400'
|
35
37
|
Cache-Control:
|
@@ -37,59 +39,80 @@ http_interactions:
|
|
37
39
|
Content-Type:
|
38
40
|
- application/vnd.contentful.delivery.v1+json
|
39
41
|
Etag:
|
40
|
-
- "
|
42
|
+
- '"87d918d318e916d11257e79fbe2170f1"'
|
43
|
+
Server:
|
44
|
+
- Contentful
|
45
|
+
X-Content-Type-Options:
|
46
|
+
- nosniff
|
47
|
+
- nosniff
|
41
48
|
X-Contentful-Request-Id:
|
42
|
-
-
|
49
|
+
- d779ead4b7a06d2c0546fbb934628db0
|
43
50
|
Content-Length:
|
44
|
-
- '
|
51
|
+
- '815'
|
45
52
|
Accept-Ranges:
|
46
53
|
- bytes
|
54
|
+
Date:
|
55
|
+
- Tue, 20 Dec 2016 15:25:24 GMT
|
47
56
|
Via:
|
48
57
|
- 1.1 varnish
|
49
58
|
Age:
|
50
59
|
- '0'
|
60
|
+
Connection:
|
61
|
+
- close
|
51
62
|
X-Served-By:
|
52
|
-
- cache-
|
63
|
+
- cache-fra1246-FRA
|
53
64
|
X-Cache:
|
54
65
|
- MISS
|
55
66
|
X-Cache-Hits:
|
56
67
|
- '0'
|
68
|
+
X-Timer:
|
69
|
+
- S1482247524.730436,VS0,VE139
|
57
70
|
Vary:
|
58
71
|
- Accept-Encoding
|
59
72
|
body:
|
60
|
-
encoding:
|
73
|
+
encoding: ASCII-8BIT
|
61
74
|
string: |
|
62
75
|
{
|
63
|
-
"fields": {
|
64
|
-
"name": "Finn",
|
65
|
-
"description": "Fearless adventurer! Defender of pancakes.",
|
66
|
-
"likes": [
|
67
|
-
"adventure"
|
68
|
-
]
|
69
|
-
},
|
70
76
|
"sys": {
|
71
|
-
"
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
"type": "Entry",
|
79
|
-
"contentType": {
|
77
|
+
"type": "Array"
|
78
|
+
},
|
79
|
+
"total": 1,
|
80
|
+
"skip": 0,
|
81
|
+
"limit": 100,
|
82
|
+
"items": [
|
83
|
+
{
|
80
84
|
"sys": {
|
81
|
-
"
|
82
|
-
|
83
|
-
|
85
|
+
"space": {
|
86
|
+
"sys": {
|
87
|
+
"type": "Link",
|
88
|
+
"linkType": "Space",
|
89
|
+
"id": "cfexampleapi"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"id": "finn",
|
93
|
+
"type": "Entry",
|
94
|
+
"createdAt": "2013-06-27T22:46:21.450Z",
|
95
|
+
"updatedAt": "2013-09-09T16:15:01.297Z",
|
96
|
+
"revision": 6,
|
97
|
+
"contentType": {
|
98
|
+
"sys": {
|
99
|
+
"type": "Link",
|
100
|
+
"linkType": "ContentType",
|
101
|
+
"id": "human"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"locale": "en-US"
|
105
|
+
},
|
106
|
+
"fields": {
|
107
|
+
"name": "Finn",
|
108
|
+
"description": "Fearless adventurer! Defender of pancakes.",
|
109
|
+
"likes": [
|
110
|
+
"adventure"
|
111
|
+
]
|
84
112
|
}
|
85
|
-
}
|
86
|
-
|
87
|
-
"revision": 6,
|
88
|
-
"createdAt": "2013-06-27T22:46:21.450Z",
|
89
|
-
"updatedAt": "2013-09-09T16:15:01.297Z",
|
90
|
-
"locale": "en-US"
|
91
|
-
}
|
113
|
+
}
|
114
|
+
]
|
92
115
|
}
|
93
116
|
http_version:
|
94
|
-
recorded_at:
|
95
|
-
recorded_with: VCR
|
117
|
+
recorded_at: Tue, 20 Dec 2016 15:25:24 GMT
|
118
|
+
recorded_with: VCR 3.0.3
|
@@ -8,11 +8,15 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- RubyContentfulGem/
|
11
|
+
- RubyContentfulGem/1.2.0
|
12
12
|
Authorization:
|
13
13
|
- Bearer 0c6ef483524b5e46b3bafda1bf355f38f5f40b4830f7599f790a410860c7c271
|
14
14
|
Content-Type:
|
15
15
|
- application/vnd.contentful.delivery.v1+json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip
|
18
|
+
Connection:
|
19
|
+
- close
|
16
20
|
Host:
|
17
21
|
- cdn.contentful.com
|
18
22
|
response:
|
@@ -20,196 +24,90 @@ http_interactions:
|
|
20
24
|
code: 200
|
21
25
|
message: OK
|
22
26
|
headers:
|
23
|
-
Date:
|
24
|
-
- Wed, 16 Apr 2014 09:00:26 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
27
|
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
28
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
|
29
29
|
Access-Control-Allow-Methods:
|
30
30
|
- GET,HEAD,OPTIONS
|
31
31
|
Access-Control-Allow-Origin:
|
32
32
|
- "*"
|
33
|
+
Access-Control-Expose-Headers:
|
34
|
+
- Etag
|
33
35
|
Access-Control-Max-Age:
|
34
36
|
- '86400'
|
35
37
|
Cache-Control:
|
36
38
|
- max-age=0
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
37
41
|
Content-Type:
|
38
42
|
- application/vnd.contentful.delivery.v1+json
|
39
43
|
Etag:
|
40
|
-
- "
|
44
|
+
- W/"e801ad802edde7bfb6cb64aa3ec11e90"
|
45
|
+
Server:
|
46
|
+
- Contentful
|
47
|
+
X-Content-Type-Options:
|
48
|
+
- nosniff
|
49
|
+
- nosniff
|
41
50
|
X-Contentful-Request-Id:
|
42
|
-
-
|
51
|
+
- 7b6b3c568bc607a8c28cbadcc673dcd1
|
43
52
|
Content-Length:
|
44
|
-
- '
|
53
|
+
- '655'
|
45
54
|
Accept-Ranges:
|
46
55
|
- bytes
|
56
|
+
Date:
|
57
|
+
- Tue, 20 Dec 2016 16:26:49 GMT
|
47
58
|
Via:
|
48
59
|
- 1.1 varnish
|
49
60
|
Age:
|
50
61
|
- '0'
|
62
|
+
Connection:
|
63
|
+
- close
|
51
64
|
X-Served-By:
|
52
|
-
- cache-
|
65
|
+
- cache-fra1232-FRA
|
53
66
|
X-Cache:
|
54
67
|
- MISS
|
55
68
|
X-Cache-Hits:
|
56
69
|
- '0'
|
70
|
+
X-Timer:
|
71
|
+
- S1482251208.877055,VS0,VE319
|
57
72
|
Vary:
|
58
73
|
- Accept-Encoding
|
59
74
|
body:
|
60
|
-
encoding:
|
61
|
-
string:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
"localized": false
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"id": "description",
|
81
|
-
"name": "Description",
|
82
|
-
"type": "Text",
|
83
|
-
"required": true,
|
84
|
-
"localized": false
|
85
|
-
}
|
86
|
-
],
|
87
|
-
"name": "Alien species",
|
88
|
-
"displayField": "name",
|
89
|
-
"sys": {
|
90
|
-
"space": {
|
91
|
-
"sys": {
|
92
|
-
"type": "Link",
|
93
|
-
"linkType": "Space",
|
94
|
-
"id": "lzjz8hygvfgu"
|
95
|
-
}
|
96
|
-
},
|
97
|
-
"type": "ContentType",
|
98
|
-
"id": "110tmd3lykUqww2WYOQOYy",
|
99
|
-
"revision": 1,
|
100
|
-
"createdAt": "2013-06-20T14:49:44.002Z",
|
101
|
-
"updatedAt": "2013-06-20T14:49:44.002Z"
|
102
|
-
}
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"fields": [
|
106
|
-
{
|
107
|
-
"id": "locationName",
|
108
|
-
"name": "Location name",
|
109
|
-
"type": "Text",
|
110
|
-
"required": true,
|
111
|
-
"localized": false
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"id": "species",
|
115
|
-
"name": "Species",
|
116
|
-
"type": "Link",
|
117
|
-
"required": true,
|
118
|
-
"localized": false,
|
119
|
-
"disabled": false,
|
120
|
-
"linkType": "Entry"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"id": "location",
|
124
|
-
"name": "location",
|
125
|
-
"type": "Location",
|
126
|
-
"required": true,
|
127
|
-
"localized": false
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"id": "description",
|
131
|
-
"name": "Description",
|
132
|
-
"type": "Text",
|
133
|
-
"required": true,
|
134
|
-
"localized": false
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"id": "shape",
|
138
|
-
"name": "Shape",
|
139
|
-
"type": "Symbol",
|
140
|
-
"required": false,
|
141
|
-
"localized": false
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"id": "reportedAt",
|
145
|
-
"name": "Reported at",
|
146
|
-
"type": "Date",
|
147
|
-
"required": true,
|
148
|
-
"localized": false
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"id": "sightedAt",
|
152
|
-
"name": "Sighted at",
|
153
|
-
"type": "Date",
|
154
|
-
"required": true,
|
155
|
-
"localized": false
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"id": "city",
|
159
|
-
"name": "City",
|
160
|
-
"type": "Symbol",
|
161
|
-
"required": false,
|
162
|
-
"localized": false
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"id": "state",
|
166
|
-
"name": "State",
|
167
|
-
"type": "Symbol",
|
168
|
-
"required": false,
|
169
|
-
"localized": false
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"id": "country",
|
173
|
-
"name": "Country",
|
174
|
-
"type": "Symbol",
|
175
|
-
"required": false,
|
176
|
-
"localized": false
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"name": "Ufo sighting",
|
180
|
-
"displayField": "locationName",
|
181
|
-
"sys": {
|
182
|
-
"space": {
|
183
|
-
"sys": {
|
184
|
-
"type": "Link",
|
185
|
-
"linkType": "Space",
|
186
|
-
"id": "lzjz8hygvfgu"
|
187
|
-
}
|
188
|
-
},
|
189
|
-
"type": "ContentType",
|
190
|
-
"id": "7ocuA1dfoccWqWwWUY4UY",
|
191
|
-
"revision": 3,
|
192
|
-
"createdAt": "2013-06-20T14:49:49.380Z",
|
193
|
-
"updatedAt": "2013-06-29T10:26:12.757Z"
|
194
|
-
}
|
195
|
-
}
|
196
|
-
]
|
197
|
-
}
|
75
|
+
encoding: ASCII-8BIT
|
76
|
+
string: !binary |-
|
77
|
+
H4sIAAAAAAAAA91W3W/aMBB/56+I/LwiJ7DS8obo9lS12gAhNvUhTRzwMHGI
|
78
|
+
nbJQ8b/Xdj6widGqoqExC4mc7/N3vrPvteU4gOUM9J1X8SkInidIUGCQpn4O
|
79
|
+
xN7uk5ThlPtE7HuKYkucCAIqguAV5oJyISw2MEcrafGnsljYPXCjXLHED6Sv
|
80
|
+
SqLY1IKRG2qzCuoex0sgne6XcB8vx2XQI2XxQACHEg/Z/treLPL5SzTPJKxq
|
81
|
+
7epvBbRYoNDp0SAbuGFEg2C6nm6mk1l3MtPM13ENacxRzFUYmpUgRT5H4UBm
|
82
|
+
B3jQ7VzB6ysPjt1uv3srfu3ODfyhK2RJaFG4Hbuw7133Xa/d+9wzFFL0ghmm
|
83
|
+
sXDQKaOvYYAQs4T4+VeMSJECGvhcCD/4q32YIJaUiG8SUYfh+YLjeF7HBELE
|
84
|
+
ghQnUk0IxRkhFT4QSbv7c5aZM06yzLvNqZStHd+XEo6KRD+8Or9j9JubHCKU
|
85
|
+
CN4iCSzyCUOGXorWGU4Vk6eZyRNZ8Z/JEUUqSlmcWGXUVhsWjCxBAUbMjLDK
|
86
|
+
68jGPFrQ4DzAjGzpHfQl5qlq+2JpPWHBLWNVlWGYq4DbuTVyq+550L8Tnl77
|
87
|
+
VoR3WnNcZN0ufOPC0ppy1GRVJzfKV8+UfLAdm736F/oxRQlNi4vXem7fS77j
|
88
|
+
H9wqFcQ7cQt/EOBZ7ht5Tat3xQpvVLAvFV2AeW4HNmxwLqcmGW/UVP1CNFmX
|
89
|
+
gyugmXoyrJU4tDH/KWzlU/Ck/svX7oInVteFfBV2SL6crDcbbzp7/PY40w/n
|
90
|
+
xJG124bQe8fIWs+4TQVtZHX/OLIaI2E9MQ4IRrFzOHWdPqs2B9CqRR+OjqYn
|
91
|
+
vYbneCz+hynG7FJBPbV2rTd3xk9hvA4AAA==
|
198
92
|
http_version:
|
199
|
-
recorded_at:
|
93
|
+
recorded_at: Tue, 20 Dec 2016 16:26:49 GMT
|
200
94
|
- request:
|
201
95
|
method: get
|
202
|
-
uri: https://cdn.contentful.com/spaces/lzjz8hygvfgu/entries
|
96
|
+
uri: https://cdn.contentful.com/spaces/lzjz8hygvfgu/entries?sys.id=3f6fq5ylFCi4kIYAQKsAYG
|
203
97
|
body:
|
204
98
|
encoding: US-ASCII
|
205
99
|
string: ''
|
206
100
|
headers:
|
207
101
|
User-Agent:
|
208
|
-
- RubyContentfulGem/
|
102
|
+
- RubyContentfulGem/1.2.0
|
209
103
|
Authorization:
|
210
104
|
- Bearer 0c6ef483524b5e46b3bafda1bf355f38f5f40b4830f7599f790a410860c7c271
|
211
105
|
Content-Type:
|
212
106
|
- application/vnd.contentful.delivery.v1+json
|
107
|
+
Accept-Encoding:
|
108
|
+
- gzip
|
109
|
+
Connection:
|
110
|
+
- close
|
213
111
|
Host:
|
214
112
|
- cdn.contentful.com
|
215
113
|
response:
|
@@ -217,89 +115,79 @@ http_interactions:
|
|
217
115
|
code: 200
|
218
116
|
message: OK
|
219
117
|
headers:
|
220
|
-
Date:
|
221
|
-
- Wed, 16 Apr 2014 09:00:26 GMT
|
222
|
-
Server:
|
223
|
-
- nginx/1.1.19
|
224
118
|
Access-Control-Allow-Headers:
|
225
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
119
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
|
226
120
|
Access-Control-Allow-Methods:
|
227
121
|
- GET,HEAD,OPTIONS
|
228
122
|
Access-Control-Allow-Origin:
|
229
123
|
- "*"
|
124
|
+
Access-Control-Expose-Headers:
|
125
|
+
- Etag
|
230
126
|
Access-Control-Max-Age:
|
231
127
|
- '86400'
|
232
128
|
Cache-Control:
|
233
129
|
- max-age=0
|
130
|
+
Content-Encoding:
|
131
|
+
- gzip
|
234
132
|
Content-Type:
|
235
133
|
- application/vnd.contentful.delivery.v1+json
|
236
134
|
Etag:
|
237
|
-
- "
|
135
|
+
- W/"b9ea319dfcc2f4b46bce6eca412749ad"
|
136
|
+
Server:
|
137
|
+
- Contentful
|
138
|
+
X-Content-Type-Options:
|
139
|
+
- nosniff
|
140
|
+
- nosniff
|
238
141
|
X-Contentful-Request-Id:
|
239
|
-
-
|
142
|
+
- 8d8363fc7228b2dbefe3b9c1bea3414b
|
240
143
|
Content-Length:
|
241
|
-
- '
|
144
|
+
- '1017'
|
242
145
|
Accept-Ranges:
|
243
146
|
- bytes
|
147
|
+
Date:
|
148
|
+
- Tue, 20 Dec 2016 16:26:49 GMT
|
244
149
|
Via:
|
245
150
|
- 1.1 varnish
|
246
151
|
Age:
|
247
|
-
- '
|
152
|
+
- '0'
|
153
|
+
Connection:
|
154
|
+
- close
|
248
155
|
X-Served-By:
|
249
|
-
- cache-
|
156
|
+
- cache-fra1241-FRA
|
250
157
|
X-Cache:
|
251
|
-
-
|
158
|
+
- MISS
|
252
159
|
X-Cache-Hits:
|
253
|
-
- '
|
160
|
+
- '0'
|
161
|
+
X-Timer:
|
162
|
+
- S1482251209.369201,VS0,VE254
|
254
163
|
Vary:
|
255
164
|
- Accept-Encoding
|
256
165
|
body:
|
257
|
-
encoding:
|
258
|
-
string:
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
"sys": {
|
283
|
-
"type": "Link",
|
284
|
-
"linkType": "Space",
|
285
|
-
"id": "lzjz8hygvfgu"
|
286
|
-
}
|
287
|
-
},
|
288
|
-
"type": "Entry",
|
289
|
-
"contentType": {
|
290
|
-
"sys": {
|
291
|
-
"type": "Link",
|
292
|
-
"linkType": "ContentType",
|
293
|
-
"id": "7ocuA1dfoccWqWwWUY4UY"
|
294
|
-
}
|
295
|
-
},
|
296
|
-
"id": "3f6fq5ylFCi4kIYAQKsAYG",
|
297
|
-
"revision": 1,
|
298
|
-
"createdAt": "2013-06-27T14:38:44.504Z",
|
299
|
-
"updatedAt": "2013-06-27T14:38:44.504Z",
|
300
|
-
"locale": "en-US"
|
301
|
-
}
|
302
|
-
}
|
166
|
+
encoding: ASCII-8BIT
|
167
|
+
string: !binary |-
|
168
|
+
H4sIAAAAAAAAA61WbW/bNhD+nl9x0KcNiA3Jr0m+KcFabC2WdnZgeEM/MNLJ
|
169
|
+
YiWTCknHUIv8991Rlt9mJx1QwYBF8u7hvT6n7xcAga1tcAPf6ZUWrq6QVkFs
|
170
|
+
jKgD2nu5ZBmnnShpP/IrW8iKFqFflHIpHR+FzVo6XDLgPx6wgT26xd9kK5Hw
|
171
|
+
Va1Es7lnC2/4zdamj1IVAd+5e+h2VUw3Nk884pGATNmd8tvXb1d5vXjOFiv2
|
172
|
+
qn1etu/ez+YJGp1+NsqehnX57k4Oit/n8ecPNp6/38PfGvabcqbeP0gMCodp
|
173
|
+
zHEJemHU74SjTm88jQY3/aubwaA7DAd/7yusqvT/KRh8llZq1eZkY3milUPl
|
174
|
+
NhH5eaG928M9GeCxTlZxlGY6SWZPs/XsYT54mL8d6VInovQFh6rzMGkVtskI
|
175
|
+
MolluqtPdjNgJUe+/ymWXvWdqNE5CkhZ4iXEf+0H1laYSDwEOFGNHvdH6+w4
|
176
|
+
3V65qZmhvP2a3KoRzmyxnoTv4/vY3sU/Fgd26bgfSr/VuR50o+F40Bv194Mf
|
177
|
+
lIILrD/qhqPecHw9PFnMKdrEyGqDHtwJipKBXKRQYuZAwBKtFQsE4SDqD4eQ
|
178
|
+
G9sFrSC6+iO+HnVhmiNQlljLYKUNFTa4nKQtHQiVQs54K/vo3wl3LZ0iTBZb
|
179
|
+
a3hEsbSgMyjlInfgNCkjKMLJUVjHJ/QmCUIvsQEWVYXCsL6GhQbrjPC6qwqk
|
180
|
+
2gDYor6ECk2GiStrqIRhE0tW0Yrt0oRqusDm17CPqI1cSEXtBpnRS7Ivl2S4
|
181
|
+
gJzq5w3zLr2/bH/j1RoNQoqZVMR6ZIVFtoMD5KFRJDls7PBmePlS60KqBV21
|
182
|
+
FiaFWxTPFMCPokCylrEflKQdKx3Z7WBSGZJOqU1A2gP7fGrqJjeNVb6dQOGa
|
183
|
+
yJViY7fmNgdCGs7fL/bX7n6PtFlt6Cq6vh51wqgTjae9/k0Y0u+AqiynouW2
|
184
|
+
t4QTcuK4RQ/a01G0WCA2hVBW2AMW1StPrHRMIeGoTljcblnC1ztT+Bc/iaRK
|
185
|
+
yhWV+7aJgqZT21m0m0YnGeDkRDop+RZbMEe9MZe2jHFuMjWO8U3eyYO+f5Vr
|
186
|
+
DiRbSvsvZQWvzajRTTTuDoe9/cSTxa9NqTMqp+cUYZ2fVD8j5Ofn1TbwURS6
|
187
|
+
Zdov6+Lhab3uzeb3n+/n/pNn9+w+D45TcGZwHYidGl50vdqMrRnzwOH3SnBE
|
188
|
+
1tTf0IihvYR1ri0xJ6lDpg1TxdJi+YzECoaah6ZBQ5nMIZ9QV8QYDbnC1KAH
|
189
|
+
YPoRsJmJfJgTJdTwKCskgiESXxJvypQAmd+9uFS5eJROKOdJnLGrUih08EHY
|
190
|
+
vK7roruLWRuv5v8LxfLl4uXiXynqqn1mCgAA
|
303
191
|
http_version:
|
304
|
-
recorded_at:
|
305
|
-
recorded_with: VCR
|
192
|
+
recorded_at: Tue, 20 Dec 2016 16:26:49 GMT
|
193
|
+
recorded_with: VCR 3.0.3
|