diff options
Diffstat (limited to 'tests/cassettes/test_scheduled_status.yaml')
-rw-r--r-- | tests/cassettes/test_scheduled_status.yaml | 460 |
1 files changed, 329 insertions, 131 deletions
diff --git a/tests/cassettes/test_scheduled_status.yaml b/tests/cassettes/test_scheduled_status.yaml index fdc39c0..4728ed9 100644 --- a/tests/cassettes/test_scheduled_status.yaml +++ b/tests/cassettes/test_scheduled_status.yaml | |||
@@ -1,174 +1,372 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: scheduled_at=4000-01-01T14%3A33%3A14%2B00%3A00&status=please+ensure+adequate+headroom | 3 | body: status=please+ensure+adequate+headroom&scheduled_at=4000-01-01T14%3A33%3A14%2B00%3A00 |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | - '*/*' |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Accept-Encoding: |
8 | Connection: [keep-alive] | 8 | - gzip, deflate |
9 | Content-Length: ['85'] | 9 | Authorization: |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
11 | User-Agent: [python-requests/2.18.4] | 11 | Connection: |
12 | - keep-alive | ||
13 | Content-Length: | ||
14 | - '85' | ||
15 | Content-Type: | ||
16 | - application/x-www-form-urlencoded | ||
17 | User-Agent: | ||
18 | - tests/v311 | ||
12 | method: POST | 19 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 21 | response: |
15 | body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please | 22 | body: |
16 | ensure adequate headroom","media_ids":null,"sensitive":null,"spoiler_text":null,"visibility":null,"scheduled_at":null,"poll":null,"idempotency":null,"in_reply_to_id":null,"application_id":1234567890123456},"media_attachments":[]}'} | 23 | string: '{"id":"1","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please |
24 | ensure adequate headroom","media_ids":null,"sensitive":null,"spoiler_text":null,"visibility":null,"language":null,"scheduled_at":null,"poll":null,"idempotency":null,"with_rate_limit":false,"in_reply_to_id":null,"application_id":1234567890123456},"media_attachments":[]}' | ||
17 | headers: | 25 | headers: |
18 | Cache-Control: ['no-cache, no-store'] | 26 | Cache-Control: |
19 | Content-Type: [application/json; charset=utf-8] | 27 | - no-store |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 28 | Content-Security-Policy: |
21 | Transfer-Encoding: [chunked] | 29 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
22 | Vary: ['Accept-Encoding, Origin'] | 30 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
23 | X-Content-Type-Options: [nosniff] | 31 | style-src ''self'' http://localhost:3000 ''nonce-DFiqFnZKqdGPD1q8KK7QnA==''; |
24 | X-Download-Options: [noopen] | 32 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
25 | X-Frame-Options: [SAMEORIGIN] | 33 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
26 | X-Permitted-Cross-Domain-Policies: [none] | 34 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
27 | X-Request-Id: [9c397b9f-d47e-405a-a55f-35456194859d] | 35 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
28 | X-Runtime: ['0.108901'] | 36 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
29 | X-XSS-Protection: [1; mode=block] | 37 | worker-src ''self'' blob: http://localhost:3000' |
30 | content-length: ['306'] | 38 | Content-Type: |
31 | status: {code: 200, message: OK} | 39 | - application/json; charset=utf-8 |
40 | ETag: | ||
41 | - W/"62aba979b85ba000abf937b323f7b03c" | ||
42 | Referrer-Policy: | ||
43 | - strict-origin-when-cross-origin | ||
44 | Transfer-Encoding: | ||
45 | - chunked | ||
46 | Vary: | ||
47 | - Accept, Origin | ||
48 | X-Content-Type-Options: | ||
49 | - nosniff | ||
50 | X-Download-Options: | ||
51 | - noopen | ||
52 | X-Frame-Options: | ||
53 | - SAMEORIGIN | ||
54 | X-Permitted-Cross-Domain-Policies: | ||
55 | - none | ||
56 | X-RateLimit-Limit: | ||
57 | - '300' | ||
58 | X-RateLimit-Remaining: | ||
59 | - '202' | ||
60 | X-RateLimit-Reset: | ||
61 | - '2022-11-07T21:00:00.734391Z' | ||
62 | X-Request-Id: | ||
63 | - d8e6d666-5f10-4573-b6da-d2487316f475 | ||
64 | X-Runtime: | ||
65 | - '0.028056' | ||
66 | X-XSS-Protection: | ||
67 | - 1; mode=block | ||
68 | status: | ||
69 | code: 200 | ||
70 | message: OK | ||
32 | - request: | 71 | - request: |
33 | body: scheduled_at=4000-01-01T14%3A23%3A14%2B00%3A00 | 72 | body: scheduled_at=4000-01-01T14%3A23%3A14%2B00%3A00 |
34 | headers: | 73 | headers: |
35 | Accept: ['*/*'] | 74 | Accept: |
36 | Accept-Encoding: ['gzip, deflate'] | 75 | - '*/*' |
37 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 76 | Accept-Encoding: |
38 | Connection: [keep-alive] | 77 | - gzip, deflate |
39 | Content-Length: ['46'] | 78 | Authorization: |
40 | Content-Type: [application/x-www-form-urlencoded] | 79 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
41 | User-Agent: [python-requests/2.18.4] | 80 | Connection: |
81 | - keep-alive | ||
82 | Content-Length: | ||
83 | - '46' | ||
84 | Content-Type: | ||
85 | - application/x-www-form-urlencoded | ||
86 | User-Agent: | ||
87 | - tests/v311 | ||
42 | method: PUT | 88 | method: PUT |
43 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 | 89 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 |
44 | response: | 90 | response: |
45 | body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please | 91 | body: |
46 | ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'} | 92 | string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please |
93 | ensure adequate headroom","language":null,"media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null,"with_rate_limit":false},"media_attachments":[]}' | ||
47 | headers: | 94 | headers: |
48 | Cache-Control: ['no-cache, no-store'] | 95 | Cache-Control: |
49 | Content-Type: [application/json; charset=utf-8] | 96 | - no-store |
50 | Referrer-Policy: [strict-origin-when-cross-origin] | 97 | Content-Security-Policy: |
51 | Transfer-Encoding: [chunked] | 98 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
52 | Vary: ['Accept-Encoding, Origin'] | 99 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
53 | X-Content-Type-Options: [nosniff] | 100 | style-src ''self'' http://localhost:3000 ''nonce-4DthgdDZhl5jVdJEryGjCA==''; |
54 | X-Download-Options: [noopen] | 101 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
55 | X-Frame-Options: [SAMEORIGIN] | 102 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
56 | X-Permitted-Cross-Domain-Policies: [none] | 103 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
57 | X-Request-Id: [9bf5fe79-6463-427d-96fa-b5fcac5b128f] | 104 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
58 | X-Runtime: ['0.065639'] | 105 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
59 | X-XSS-Protection: [1; mode=block] | 106 | worker-src ''self'' blob: http://localhost:3000' |
60 | content-length: ['306'] | 107 | Content-Type: |
61 | status: {code: 200, message: OK} | 108 | - application/json; charset=utf-8 |
109 | ETag: | ||
110 | - W/"b266e2e7938c824bcc1ec759216487c1" | ||
111 | Referrer-Policy: | ||
112 | - strict-origin-when-cross-origin | ||
113 | Transfer-Encoding: | ||
114 | - chunked | ||
115 | Vary: | ||
116 | - Accept, Origin | ||
117 | X-Content-Type-Options: | ||
118 | - nosniff | ||
119 | X-Download-Options: | ||
120 | - noopen | ||
121 | X-Frame-Options: | ||
122 | - SAMEORIGIN | ||
123 | X-Permitted-Cross-Domain-Policies: | ||
124 | - none | ||
125 | X-Request-Id: | ||
126 | - 4e672605-b42e-4aec-ac4b-43e3fadee2ff | ||
127 | X-Runtime: | ||
128 | - '0.015858' | ||
129 | X-XSS-Protection: | ||
130 | - 1; mode=block | ||
131 | status: | ||
132 | code: 200 | ||
133 | message: OK | ||
62 | - request: | 134 | - request: |
63 | body: null | 135 | body: null |
64 | headers: | 136 | headers: |
65 | Accept: ['*/*'] | 137 | Accept: |
66 | Accept-Encoding: ['gzip, deflate'] | 138 | - '*/*' |
67 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 139 | Accept-Encoding: |
68 | Connection: [keep-alive] | 140 | - gzip, deflate |
69 | User-Agent: [python-requests/2.18.4] | 141 | Authorization: |
142 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
143 | Connection: | ||
144 | - keep-alive | ||
145 | User-Agent: | ||
146 | - tests/v311 | ||
70 | method: GET | 147 | method: GET |
71 | uri: http://localhost:3000/api/v1/scheduled_statuses | 148 | uri: http://localhost:3000/api/v1/scheduled_statuses |
72 | response: | 149 | response: |
73 | body: {string: '[{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please | 150 | body: |
74 | ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}]'} | 151 | string: '[{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please |
152 | ensure adequate headroom","language":null,"media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null,"with_rate_limit":false},"media_attachments":[]}]' | ||
75 | headers: | 153 | headers: |
76 | Cache-Control: ['no-cache, no-store'] | 154 | Cache-Control: |
77 | Content-Type: [application/json; charset=utf-8] | 155 | - no-store |
78 | Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=1>; rel="prev"'] | 156 | Content-Security-Policy: |
79 | Referrer-Policy: [strict-origin-when-cross-origin] | 157 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
80 | Transfer-Encoding: [chunked] | 158 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
81 | Vary: ['Accept-Encoding, Origin'] | 159 | style-src ''self'' http://localhost:3000 ''nonce-SFnDuF34ehN0UcQ8KixQKw==''; |
82 | X-Content-Type-Options: [nosniff] | 160 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
83 | X-Download-Options: [noopen] | 161 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
84 | X-Frame-Options: [SAMEORIGIN] | 162 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
85 | X-Permitted-Cross-Domain-Policies: [none] | 163 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
86 | X-Request-Id: [1a387347-798b-4398-b3de-74205536f0f6] | 164 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
87 | X-Runtime: ['0.042348'] | 165 | worker-src ''self'' blob: http://localhost:3000' |
88 | X-XSS-Protection: [1; mode=block] | 166 | Content-Type: |
89 | content-length: ['308'] | 167 | - application/json; charset=utf-8 |
90 | status: {code: 200, message: OK} | 168 | ETag: |
169 | - W/"eca4f34f345a42498cb5eeee0a07578e" | ||
170 | Link: | ||
171 | - <http://localhost:3000/api/v1/scheduled_statuses?min_id=1>; rel="prev" | ||
172 | Referrer-Policy: | ||
173 | - strict-origin-when-cross-origin | ||
174 | Transfer-Encoding: | ||
175 | - chunked | ||
176 | Vary: | ||
177 | - Accept, Origin | ||
178 | X-Content-Type-Options: | ||
179 | - nosniff | ||
180 | X-Download-Options: | ||
181 | - noopen | ||
182 | X-Frame-Options: | ||
183 | - SAMEORIGIN | ||
184 | X-Permitted-Cross-Domain-Policies: | ||
185 | - none | ||
186 | X-Request-Id: | ||
187 | - 9159ad97-c946-4c1a-8c99-875c170606e0 | ||
188 | X-Runtime: | ||
189 | - '0.009307' | ||
190 | X-XSS-Protection: | ||
191 | - 1; mode=block | ||
192 | status: | ||
193 | code: 200 | ||
194 | message: OK | ||
91 | - request: | 195 | - request: |
92 | body: null | 196 | body: null |
93 | headers: | 197 | headers: |
94 | Accept: ['*/*'] | 198 | Accept: |
95 | Accept-Encoding: ['gzip, deflate'] | 199 | - '*/*' |
96 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 200 | Accept-Encoding: |
97 | Connection: [keep-alive] | 201 | - gzip, deflate |
98 | User-Agent: [python-requests/2.18.4] | 202 | Authorization: |
203 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
204 | Connection: | ||
205 | - keep-alive | ||
206 | User-Agent: | ||
207 | - tests/v311 | ||
99 | method: GET | 208 | method: GET |
100 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 | 209 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 |
101 | response: | 210 | response: |
102 | body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please | 211 | body: |
103 | ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'} | 212 | string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please |
213 | ensure adequate headroom","language":null,"media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null,"with_rate_limit":false},"media_attachments":[]}' | ||
104 | headers: | 214 | headers: |
105 | Cache-Control: ['no-cache, no-store'] | 215 | Cache-Control: |
106 | Content-Type: [application/json; charset=utf-8] | 216 | - no-store |
107 | Referrer-Policy: [strict-origin-when-cross-origin] | 217 | Content-Security-Policy: |
108 | Transfer-Encoding: [chunked] | 218 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
109 | Vary: ['Accept-Encoding, Origin'] | 219 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
110 | X-Content-Type-Options: [nosniff] | 220 | style-src ''self'' http://localhost:3000 ''nonce-jnFaWD2UmNyYu6SNCf62MQ==''; |
111 | X-Download-Options: [noopen] | 221 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
112 | X-Frame-Options: [SAMEORIGIN] | 222 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
113 | X-Permitted-Cross-Domain-Policies: [none] | 223 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
114 | X-Request-Id: [17955ae7-2272-4367-96a5-9c3c26cb8dcc] | 224 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
115 | X-Runtime: ['0.038929'] | 225 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
116 | X-XSS-Protection: [1; mode=block] | 226 | worker-src ''self'' blob: http://localhost:3000' |
117 | content-length: ['306'] | 227 | Content-Type: |
118 | status: {code: 200, message: OK} | 228 | - application/json; charset=utf-8 |
229 | ETag: | ||
230 | - W/"b266e2e7938c824bcc1ec759216487c1" | ||
231 | Referrer-Policy: | ||
232 | - strict-origin-when-cross-origin | ||
233 | Transfer-Encoding: | ||
234 | - chunked | ||
235 | Vary: | ||
236 | - Accept, Origin | ||
237 | X-Content-Type-Options: | ||
238 | - nosniff | ||
239 | X-Download-Options: | ||
240 | - noopen | ||
241 | X-Frame-Options: | ||
242 | - SAMEORIGIN | ||
243 | X-Permitted-Cross-Domain-Policies: | ||
244 | - none | ||
245 | X-Request-Id: | ||
246 | - 909fdf0c-1957-463c-ada7-85f731ac75f7 | ||
247 | X-Runtime: | ||
248 | - '0.008306' | ||
249 | X-XSS-Protection: | ||
250 | - 1; mode=block | ||
251 | status: | ||
252 | code: 200 | ||
253 | message: OK | ||
119 | - request: | 254 | - request: |
120 | body: null | 255 | body: null |
121 | headers: | 256 | headers: |
122 | Accept: ['*/*'] | 257 | Accept: |
123 | Accept-Encoding: ['gzip, deflate'] | 258 | - '*/*' |
124 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 259 | Accept-Encoding: |
125 | Connection: [keep-alive] | 260 | - gzip, deflate |
126 | Content-Length: ['0'] | 261 | Authorization: |
127 | User-Agent: [python-requests/2.18.4] | 262 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
263 | Connection: | ||
264 | - keep-alive | ||
265 | Content-Length: | ||
266 | - '0' | ||
267 | User-Agent: | ||
268 | - tests/v311 | ||
128 | method: DELETE | 269 | method: DELETE |
129 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 | 270 | uri: http://localhost:3000/api/v1/scheduled_statuses/1 |
130 | response: | 271 | response: |
131 | body: {string: '{}'} | 272 | body: |
273 | string: '{}' | ||
132 | headers: | 274 | headers: |
133 | Cache-Control: ['no-cache, no-store'] | 275 | Cache-Control: |
134 | Content-Type: [application/json; charset=utf-8] | 276 | - no-store |
135 | Referrer-Policy: [strict-origin-when-cross-origin] | 277 | Content-Security-Policy: |
136 | Transfer-Encoding: [chunked] | 278 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
137 | Vary: ['Accept-Encoding, Origin'] | 279 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
138 | X-Content-Type-Options: [nosniff] | 280 | style-src ''self'' http://localhost:3000 ''nonce-MTlt+IyXs/yOIWFZzCKzsg==''; |
139 | X-Download-Options: [noopen] | 281 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
140 | X-Frame-Options: [SAMEORIGIN] | 282 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
141 | X-Permitted-Cross-Domain-Policies: [none] | 283 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
142 | X-Request-Id: [25225334-3254-49b0-8029-56b97e5f7649] | 284 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
143 | X-Runtime: ['0.053724'] | 285 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
144 | X-XSS-Protection: [1; mode=block] | 286 | worker-src ''self'' blob: http://localhost:3000' |
145 | content-length: ['2'] | 287 | Content-Type: |
146 | status: {code: 200, message: OK} | 288 | - application/json; charset=utf-8 |
289 | ETag: | ||
290 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
291 | Referrer-Policy: | ||
292 | - strict-origin-when-cross-origin | ||
293 | Transfer-Encoding: | ||
294 | - chunked | ||
295 | Vary: | ||
296 | - Accept, Origin | ||
297 | X-Content-Type-Options: | ||
298 | - nosniff | ||
299 | X-Download-Options: | ||
300 | - noopen | ||
301 | X-Frame-Options: | ||
302 | - SAMEORIGIN | ||
303 | X-Permitted-Cross-Domain-Policies: | ||
304 | - none | ||
305 | X-Request-Id: | ||
306 | - 14b879b0-4d03-4fa1-a637-731ef34ab3b8 | ||
307 | X-Runtime: | ||
308 | - '0.011476' | ||
309 | X-XSS-Protection: | ||
310 | - 1; mode=block | ||
311 | status: | ||
312 | code: 200 | ||
313 | message: OK | ||
147 | - request: | 314 | - request: |
148 | body: null | 315 | body: null |
149 | headers: | 316 | headers: |
150 | Accept: ['*/*'] | 317 | Accept: |
151 | Accept-Encoding: ['gzip, deflate'] | 318 | - '*/*' |
152 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 319 | Accept-Encoding: |
153 | Connection: [keep-alive] | 320 | - gzip, deflate |
154 | User-Agent: [python-requests/2.18.4] | 321 | Authorization: |
322 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
323 | Connection: | ||
324 | - keep-alive | ||
325 | User-Agent: | ||
326 | - tests/v311 | ||
155 | method: GET | 327 | method: GET |
156 | uri: http://localhost:3000/api/v1/scheduled_statuses | 328 | uri: http://localhost:3000/api/v1/scheduled_statuses |
157 | response: | 329 | response: |
158 | body: {string: '[]'} | 330 | body: |
331 | string: '[]' | ||
159 | headers: | 332 | headers: |
160 | Cache-Control: ['no-cache, no-store'] | 333 | Cache-Control: |
161 | Content-Type: [application/json; charset=utf-8] | 334 | - no-store |
162 | Referrer-Policy: [strict-origin-when-cross-origin] | 335 | Content-Security-Policy: |
163 | Transfer-Encoding: [chunked] | 336 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
164 | Vary: ['Accept-Encoding, Origin'] | 337 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
165 | X-Content-Type-Options: [nosniff] | 338 | style-src ''self'' http://localhost:3000 ''nonce-aGwBqmdyPt4Xk+pSrzkmJw==''; |
166 | X-Download-Options: [noopen] | 339 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
167 | X-Frame-Options: [SAMEORIGIN] | 340 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
168 | X-Permitted-Cross-Domain-Policies: [none] | 341 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
169 | X-Request-Id: [f459b7a0-3fc3-4347-9509-876f78ee58ac] | 342 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
170 | X-Runtime: ['0.032097'] | 343 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
171 | X-XSS-Protection: [1; mode=block] | 344 | worker-src ''self'' blob: http://localhost:3000' |
172 | content-length: ['2'] | 345 | Content-Type: |
173 | status: {code: 200, message: OK} | 346 | - application/json; charset=utf-8 |
347 | ETag: | ||
348 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
349 | Referrer-Policy: | ||
350 | - strict-origin-when-cross-origin | ||
351 | Transfer-Encoding: | ||
352 | - chunked | ||
353 | Vary: | ||
354 | - Accept, Origin | ||
355 | X-Content-Type-Options: | ||
356 | - nosniff | ||
357 | X-Download-Options: | ||
358 | - noopen | ||
359 | X-Frame-Options: | ||
360 | - SAMEORIGIN | ||
361 | X-Permitted-Cross-Domain-Policies: | ||
362 | - none | ||
363 | X-Request-Id: | ||
364 | - c3b32e28-4df2-4d41-b61f-a7e86b4a6211 | ||
365 | X-Runtime: | ||
366 | - '0.008393' | ||
367 | X-XSS-Protection: | ||
368 | - 1; mode=block | ||
369 | status: | ||
370 | code: 200 | ||
371 | message: OK | ||
174 | version: 1 | 372 | version: 1 |