aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-17 20:34:10 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-17 20:34:10 +0200
commit3ed1cf73999ceef24ea3bf8395855bdde3876573 (patch)
tree9a1472b324ee501707b21afbb4adfda7d9f49099 /tests/cassettes/test_scheduled_status.yaml
parent8c86f62fa48773d39fa5897811cc2f248cdb30a0 (diff)
downloadmastodon.py-3ed1cf73999ceef24ea3bf8395855bdde3876573.tar.gz
add another test for scheduled statuses
Diffstat (limited to 'tests/cassettes/test_scheduled_status.yaml')
-rw-r--r--tests/cassettes/test_scheduled_status.yaml263
1 files changed, 231 insertions, 32 deletions
diff --git a/tests/cassettes/test_scheduled_status.yaml b/tests/cassettes/test_scheduled_status.yaml
index cc8d9f7..9fbf6f2 100644
--- a/tests/cassettes/test_scheduled_status.yaml
+++ b/tests/cassettes/test_scheduled_status.yaml
@@ -20,7 +20,7 @@ interactions:
20 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
21 response: 21 response:
22 body: 22 body:
23 string: '{"id":"1","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please 23 string: '{"id":"3","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":[]}' 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":[]}'
25 headers: 25 headers:
26 Cache-Control: 26 Cache-Control:
@@ -28,7 +28,7 @@ interactions:
28 Content-Security-Policy: 28 Content-Security-Policy:
29 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 29 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
30 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 30 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
31 style-src ''self'' http://localhost:3000 ''nonce-9Khj7VrlQPWC6+6XGyJtvw==''; 31 style-src ''self'' http://localhost:3000 ''nonce-8MI0hLsUyrzDc4kIn3QyMg=='';
32 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 32 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
33 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 33 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
34 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 34 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -38,7 +38,7 @@ interactions:
38 Content-Type: 38 Content-Type:
39 - application/json; charset=utf-8 39 - application/json; charset=utf-8
40 ETag: 40 ETag:
41 - W/"62aba979b85ba000abf937b323f7b03c" 41 - W/"e650d49830a41555fedcb7fb33b1142c"
42 Referrer-Policy: 42 Referrer-Policy:
43 - strict-origin-when-cross-origin 43 - strict-origin-when-cross-origin
44 Transfer-Encoding: 44 Transfer-Encoding:
@@ -56,13 +56,13 @@ interactions:
56 X-RateLimit-Limit: 56 X-RateLimit-Limit:
57 - '300' 57 - '300'
58 X-RateLimit-Remaining: 58 X-RateLimit-Remaining:
59 - '199' 59 - '300'
60 X-RateLimit-Reset: 60 X-RateLimit-Reset:
61 - '2022-11-13T18:00:00.559425Z' 61 - '2022-11-17T21:00:00.569037Z'
62 X-Request-Id: 62 X-Request-Id:
63 - b438b531-0910-4476-8082-c914ee57f94d 63 - 1f7204a9-6c93-444a-bc27-87fd8949027e
64 X-Runtime: 64 X-Runtime:
65 - '0.025516' 65 - '0.229002'
66 X-XSS-Protection: 66 X-XSS-Protection:
67 - 1; mode=block 67 - 1; mode=block
68 status: 68 status:
@@ -86,10 +86,10 @@ interactions:
86 User-Agent: 86 User-Agent:
87 - tests/v311 87 - tests/v311
88 method: PUT 88 method: PUT
89 uri: http://localhost:3000/api/v1/scheduled_statuses/1 89 uri: http://localhost:3000/api/v1/scheduled_statuses/3
90 response: 90 response:
91 body: 91 body:
92 string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 92 string: '{"id":"3","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":[]}' 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":[]}'
94 headers: 94 headers:
95 Cache-Control: 95 Cache-Control:
@@ -97,7 +97,7 @@ interactions:
97 Content-Security-Policy: 97 Content-Security-Policy:
98 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 98 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
99 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 99 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
100 style-src ''self'' http://localhost:3000 ''nonce-b1WRhJZBR6xY4fI8JL6Vzw==''; 100 style-src ''self'' http://localhost:3000 ''nonce-dqsjmaaupc42lzB9CQahdw=='';
101 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 101 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
102 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 102 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
103 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 103 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -107,7 +107,7 @@ interactions:
107 Content-Type: 107 Content-Type:
108 - application/json; charset=utf-8 108 - application/json; charset=utf-8
109 ETag: 109 ETag:
110 - W/"b266e2e7938c824bcc1ec759216487c1" 110 - W/"c23cf5fde7455d325c6b924266e2e877"
111 Referrer-Policy: 111 Referrer-Policy:
112 - strict-origin-when-cross-origin 112 - strict-origin-when-cross-origin
113 Transfer-Encoding: 113 Transfer-Encoding:
@@ -123,9 +123,9 @@ interactions:
123 X-Permitted-Cross-Domain-Policies: 123 X-Permitted-Cross-Domain-Policies:
124 - none 124 - none
125 X-Request-Id: 125 X-Request-Id:
126 - a221f9bf-8fde-46fb-9aae-01b673af75a0 126 - 45459a5d-1994-4eeb-8551-f1df97d9530b
127 X-Runtime: 127 X-Runtime:
128 - '0.015826' 128 - '0.016216'
129 X-XSS-Protection: 129 X-XSS-Protection:
130 - 1; mode=block 130 - 1; mode=block
131 status: 131 status:
@@ -148,7 +148,7 @@ interactions:
148 uri: http://localhost:3000/api/v1/scheduled_statuses 148 uri: http://localhost:3000/api/v1/scheduled_statuses
149 response: 149 response:
150 body: 150 body:
151 string: '[{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 151 string: '[{"id":"3","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":[]}]' 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":[]}]'
153 headers: 153 headers:
154 Cache-Control: 154 Cache-Control:
@@ -156,7 +156,7 @@ interactions:
156 Content-Security-Policy: 156 Content-Security-Policy:
157 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 157 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
158 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 158 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
159 style-src ''self'' http://localhost:3000 ''nonce-3zZn0JxSna76R9OrTIYyXA==''; 159 style-src ''self'' http://localhost:3000 ''nonce-ogS9JdJ7yVcKGhdGJ4ohvQ=='';
160 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 160 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
161 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 161 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
162 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 162 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -166,9 +166,9 @@ interactions:
166 Content-Type: 166 Content-Type:
167 - application/json; charset=utf-8 167 - application/json; charset=utf-8
168 ETag: 168 ETag:
169 - W/"eca4f34f345a42498cb5eeee0a07578e" 169 - W/"4695a11bc3761f561fbe599c1fa67707"
170 Link: 170 Link:
171 - <http://localhost:3000/api/v1/scheduled_statuses?min_id=1>; rel="prev" 171 - <http://localhost:3000/api/v1/scheduled_statuses?min_id=3>; rel="prev"
172 Referrer-Policy: 172 Referrer-Policy:
173 - strict-origin-when-cross-origin 173 - strict-origin-when-cross-origin
174 Transfer-Encoding: 174 Transfer-Encoding:
@@ -184,9 +184,9 @@ interactions:
184 X-Permitted-Cross-Domain-Policies: 184 X-Permitted-Cross-Domain-Policies:
185 - none 185 - none
186 X-Request-Id: 186 X-Request-Id:
187 - 5fe0b173-26f6-46ec-817c-ba3378cdaa5a 187 - 05eec4ca-e7d5-4329-a6e2-d2c55ec462a7
188 X-Runtime: 188 X-Runtime:
189 - '0.009099' 189 - '0.009847'
190 X-XSS-Protection: 190 X-XSS-Protection:
191 - 1; mode=block 191 - 1; mode=block
192 status: 192 status:
@@ -206,10 +206,10 @@ interactions:
206 User-Agent: 206 User-Agent:
207 - tests/v311 207 - tests/v311
208 method: GET 208 method: GET
209 uri: http://localhost:3000/api/v1/scheduled_statuses/1 209 uri: http://localhost:3000/api/v1/scheduled_statuses/3
210 response: 210 response:
211 body: 211 body:
212 string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 212 string: '{"id":"3","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":[]}' 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":[]}'
214 headers: 214 headers:
215 Cache-Control: 215 Cache-Control:
@@ -217,7 +217,7 @@ interactions:
217 Content-Security-Policy: 217 Content-Security-Policy:
218 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 218 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
219 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 219 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
220 style-src ''self'' http://localhost:3000 ''nonce-um8Lzyinju91b01d44rNCw==''; 220 style-src ''self'' http://localhost:3000 ''nonce-101mCoCwPrjnwSQ1RVvVkw=='';
221 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 221 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
222 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 222 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
223 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 223 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -227,7 +227,7 @@ interactions:
227 Content-Type: 227 Content-Type:
228 - application/json; charset=utf-8 228 - application/json; charset=utf-8
229 ETag: 229 ETag:
230 - W/"b266e2e7938c824bcc1ec759216487c1" 230 - W/"c23cf5fde7455d325c6b924266e2e877"
231 Referrer-Policy: 231 Referrer-Policy:
232 - strict-origin-when-cross-origin 232 - strict-origin-when-cross-origin
233 Transfer-Encoding: 233 Transfer-Encoding:
@@ -243,9 +243,9 @@ interactions:
243 X-Permitted-Cross-Domain-Policies: 243 X-Permitted-Cross-Domain-Policies:
244 - none 244 - none
245 X-Request-Id: 245 X-Request-Id:
246 - f665cb8d-702c-4b7e-acab-6096e2089e5e 246 - 7ae5d245-26f5-4169-ad0a-5857f2ae1e26
247 X-Runtime: 247 X-Runtime:
248 - '0.008556' 248 - '0.008526'
249 X-XSS-Protection: 249 X-XSS-Protection:
250 - 1; mode=block 250 - 1; mode=block
251 status: 251 status:
@@ -267,7 +267,7 @@ interactions:
267 User-Agent: 267 User-Agent:
268 - tests/v311 268 - tests/v311
269 method: DELETE 269 method: DELETE
270 uri: http://localhost:3000/api/v1/scheduled_statuses/1 270 uri: http://localhost:3000/api/v1/scheduled_statuses/3
271 response: 271 response:
272 body: 272 body:
273 string: '{}' 273 string: '{}'
@@ -277,7 +277,7 @@ interactions:
277 Content-Security-Policy: 277 Content-Security-Policy:
278 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 278 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
279 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 279 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
280 style-src ''self'' http://localhost:3000 ''nonce-u2m/JaLpujzcMslVCPV/VA==''; 280 style-src ''self'' http://localhost:3000 ''nonce-vq3gSI3BXir3TR5GiD2HRA=='';
281 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 281 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
282 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 282 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
283 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 283 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -303,9 +303,208 @@ interactions:
303 X-Permitted-Cross-Domain-Policies: 303 X-Permitted-Cross-Domain-Policies:
304 - none 304 - none
305 X-Request-Id: 305 X-Request-Id:
306 - 06dc8604-db6e-4e15-a560-17688a61efa3 306 - 43ad9ed4-979f-4fcd-8de1-a08017bf5101
307 X-Runtime:
308 - '0.012787'
309 X-XSS-Protection:
310 - 1; mode=block
311 status:
312 code: 200
313 message: OK
314- request:
315 body: null
316 headers:
317 Accept:
318 - '*/*'
319 Accept-Encoding:
320 - gzip, deflate
321 Authorization:
322 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
323 Connection:
324 - keep-alive
325 User-Agent:
326 - tests/v311
327 method: GET
328 uri: http://localhost:3000/api/v1/scheduled_statuses
329 response:
330 body:
331 string: '[]'
332 headers:
333 Cache-Control:
334 - no-store
335 Content-Security-Policy:
336 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
337 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
338 style-src ''self'' http://localhost:3000 ''nonce-iUJq9NaSxMW8Tl46vhzO0g=='';
339 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
340 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
341 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
342 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
343 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
344 worker-src ''self'' blob: http://localhost:3000'
345 Content-Type:
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 - a280af2d-3f06-43e5-a7fd-81ee15ba423d
365 X-Runtime:
366 - '0.007606'
367 X-XSS-Protection:
368 - 1; mode=block
369 status:
370 code: 200
371 message: OK
372- request:
373 body: status=please+ensure+adequate+headroom&scheduled_at=2022-11-17T18%3A33%3A45%2B00%3A00
374 headers:
375 Accept:
376 - '*/*'
377 Accept-Encoding:
378 - gzip, deflate
379 Authorization:
380 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
381 Connection:
382 - keep-alive
383 Content-Length:
384 - '85'
385 Content-Type:
386 - application/x-www-form-urlencoded
387 User-Agent:
388 - tests/v311
389 method: POST
390 uri: http://localhost:3000/api/v1/statuses
391 response:
392 body:
393 string: '{"id":"109360579914087110","created_at":"2022-11-17T18:33:40.663Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109360579914087110","url":"http://localhost:3000/@mastodonpy_test/109360579914087110","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease
394 ensure adequate headroom\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
395 test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
396 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
397 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2022-11-17","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
398 headers:
399 Cache-Control:
400 - no-store
401 Content-Security-Policy:
402 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
403 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
404 style-src ''self'' http://localhost:3000 ''nonce-2aLo0w9hlVj9xfPOBdEXsg=='';
405 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
406 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
407 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
408 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
409 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
410 worker-src ''self'' blob: http://localhost:3000'
411 Content-Type:
412 - application/json; charset=utf-8
413 ETag:
414 - W/"fb00e7f8059ab81e322aa084d8875cb9"
415 Referrer-Policy:
416 - strict-origin-when-cross-origin
417 Transfer-Encoding:
418 - chunked
419 Vary:
420 - Accept, Origin
421 X-Content-Type-Options:
422 - nosniff
423 X-Download-Options:
424 - noopen
425 X-Frame-Options:
426 - SAMEORIGIN
427 X-Permitted-Cross-Domain-Policies:
428 - none
429 X-RateLimit-Limit:
430 - '300'
431 X-RateLimit-Remaining:
432 - '299'
433 X-RateLimit-Reset:
434 - '2022-11-17T21:00:00.736121Z'
435 X-Request-Id:
436 - 2b9fa644-dc09-489c-9381-eec41867cbe9
437 X-Runtime:
438 - '0.085861'
439 X-XSS-Protection:
440 - 1; mode=block
441 status:
442 code: 200
443 message: OK
444- request:
445 body: null
446 headers:
447 Accept:
448 - '*/*'
449 Accept-Encoding:
450 - gzip, deflate
451 Authorization:
452 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
453 Connection:
454 - keep-alive
455 User-Agent:
456 - tests/v311
457 method: GET
458 uri: http://localhost:3000/api/v1/timelines/home
459 response:
460 body:
461 string: '[{"id":"109360579914087110","created_at":"2022-11-17T18:33:40.663Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109360579914087110","url":"http://localhost:3000/@mastodonpy_test/109360579914087110","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease
462 ensure adequate headroom\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
463 test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
464 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
465 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2022-11-17","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"109337450437842705","created_at":"2022-11-13T16:31:32.863Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337450437842705","url":"http://localhost:3000/@mastodonpy_test/109337450437842705","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eit\u0026#39;s
466 cool guy\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
467 test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
468 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
469 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2022-11-17","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'
470 headers:
471 Cache-Control:
472 - no-store
473 Content-Security-Policy:
474 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
475 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
476 style-src ''self'' http://localhost:3000 ''nonce-faRlQe20PGT5pFs0kdlAQg=='';
477 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
478 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
479 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
480 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
481 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
482 worker-src ''self'' blob: http://localhost:3000'
483 Content-Type:
484 - application/json; charset=utf-8
485 ETag:
486 - W/"200de3a5f7d0d15a5a008600dee66fb6"
487 Link:
488 - <http://localhost:3000/api/v1/timelines/home?max_id=109337450437842705>; rel="next",
489 <http://localhost:3000/api/v1/timelines/home?min_id=109360579914087110>; rel="prev"
490 Referrer-Policy:
491 - strict-origin-when-cross-origin
492 Transfer-Encoding:
493 - chunked
494 Vary:
495 - Accept, Origin
496 X-Content-Type-Options:
497 - nosniff
498 X-Download-Options:
499 - noopen
500 X-Frame-Options:
501 - SAMEORIGIN
502 X-Permitted-Cross-Domain-Policies:
503 - none
504 X-Request-Id:
505 - 91f6a07e-a66d-4800-aaf2-79cbb7fc3486
307 X-Runtime: 506 X-Runtime:
308 - '0.010733' 507 - '0.048140'
309 X-XSS-Protection: 508 X-XSS-Protection:
310 - 1; mode=block 509 - 1; mode=block
311 status: 510 status:
@@ -335,7 +534,7 @@ interactions:
335 Content-Security-Policy: 534 Content-Security-Policy:
336 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 535 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
337 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 536 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
338 style-src ''self'' http://localhost:3000 ''nonce-tzXPiKt+KZVbunrAM7upNg==''; 537 style-src ''self'' http://localhost:3000 ''nonce-QHs3ujVPRmUwAFyI/3XtxA=='';
339 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 538 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
340 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 539 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
341 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 540 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -361,9 +560,9 @@ interactions:
361 X-Permitted-Cross-Domain-Policies: 560 X-Permitted-Cross-Domain-Policies:
362 - none 561 - none
363 X-Request-Id: 562 X-Request-Id:
364 - 87e716bb-2b09-47f3-b670-8247bc742094 563 - 3b1af585-179b-467a-9f0d-5d86b3399547
365 X-Runtime: 564 X-Runtime:
366 - '0.007378' 565 - '0.008452'
367 X-XSS-Protection: 566 X-XSS-Protection:
368 - 1; mode=block 567 - 1; mode=block
369 status: 568 status:
Powered by cgit v1.2.3 (git 2.41.0)