diff options
Diffstat (limited to 'tests/cassettes/test_status_card.yaml')
-rw-r--r-- | tests/cassettes/test_status_card.yaml | 331 |
1 files changed, 235 insertions, 96 deletions
diff --git a/tests/cassettes/test_status_card.yaml b/tests/cassettes/test_status_card.yaml index da66c10..ac91e99 100644 --- a/tests/cassettes/test_status_card.yaml +++ b/tests/cassettes/test_status_card.yaml | |||
@@ -2,125 +2,264 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: status=http%3A%2F%2Fexample.org%2F | 3 | body: status=http%3A%2F%2Fexample.org%2F |
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: ['34'] | 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 | - '34' | ||
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":"103704151048023690","created_at":"2020-02-22T19:29:25.765Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/103704151048023690","url":"http://localhost/@mastodonpy_test/103704151048023690","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003ca | 22 | body: |
16 | href=\"http://example.org/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003e\u003cspan | 23 | string: '{"id":"109304276344120441","created_at":"2022-11-07T19:54:56.365Z","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/109304276344120441","url":"http://localhost:3000/@mastodonpy_test/109304276344120441","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003ca |
24 | href=\"http://example.org/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003e\u003cspan | ||
17 | class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan | 25 | class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan |
18 | class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 26 | class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
19 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 27 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
28 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
29 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-07","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}' | ||
20 | headers: | 30 | headers: |
21 | Cache-Control: ['no-cache, no-store'] | 31 | Cache-Control: |
22 | Content-Type: [application/json; charset=utf-8] | 32 | - no-store |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 33 | Content-Security-Policy: |
24 | Transfer-Encoding: [chunked] | 34 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
25 | Vary: ['Accept-Encoding, Origin'] | 35 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
26 | X-Content-Type-Options: [nosniff] | 36 | style-src ''self'' http://localhost:3000 ''nonce-LWXVPTKE6JU463ecy4E12w==''; |
27 | X-Download-Options: [noopen] | 37 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
28 | X-Frame-Options: [SAMEORIGIN] | 38 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
29 | X-Permitted-Cross-Domain-Policies: [none] | 39 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
30 | X-Request-Id: [b0fc45f5-7e30-424e-9c0b-cc79a15c39cb] | 40 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
31 | X-Runtime: ['0.200596'] | 41 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
32 | X-XSS-Protection: [1; mode=block] | 42 | worker-src ''self'' blob: http://localhost:3000' |
33 | content-length: ['1595'] | 43 | Content-Type: |
34 | status: {code: 200, message: OK} | 44 | - application/json; charset=utf-8 |
45 | ETag: | ||
46 | - W/"abbfe7eee5953e17bbb466ef23b5844f" | ||
47 | Referrer-Policy: | ||
48 | - strict-origin-when-cross-origin | ||
49 | Transfer-Encoding: | ||
50 | - chunked | ||
51 | Vary: | ||
52 | - Accept, Origin | ||
53 | X-Content-Type-Options: | ||
54 | - nosniff | ||
55 | X-Download-Options: | ||
56 | - noopen | ||
57 | X-Frame-Options: | ||
58 | - SAMEORIGIN | ||
59 | X-Permitted-Cross-Domain-Policies: | ||
60 | - none | ||
61 | X-RateLimit-Limit: | ||
62 | - '300' | ||
63 | X-RateLimit-Remaining: | ||
64 | - '221' | ||
65 | X-RateLimit-Reset: | ||
66 | - '2022-11-07T21:00:00.386657Z' | ||
67 | X-Request-Id: | ||
68 | - f38f023b-359d-49de-9227-31543e52d04e | ||
69 | X-Runtime: | ||
70 | - '0.033141' | ||
71 | X-XSS-Protection: | ||
72 | - 1; mode=block | ||
73 | status: | ||
74 | code: 200 | ||
75 | message: OK | ||
35 | - request: | 76 | - request: |
36 | body: null | 77 | body: null |
37 | headers: | 78 | headers: |
38 | Accept: ['*/*'] | 79 | Accept: |
39 | Accept-Encoding: ['gzip, deflate'] | 80 | - '*/*' |
40 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 81 | Accept-Encoding: |
41 | Connection: [keep-alive] | 82 | - gzip, deflate |
42 | User-Agent: [python-requests/2.18.4] | 83 | Authorization: |
84 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
85 | Connection: | ||
86 | - keep-alive | ||
87 | User-Agent: | ||
88 | - tests/v311 | ||
43 | method: GET | 89 | method: GET |
44 | uri: http://localhost:3000/api/v1/instance/ | 90 | uri: http://localhost:3000/api/v1/instance/ |
45 | response: | 91 | response: |
46 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.1.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":4,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} | 92 | body: |
93 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":3,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | ||
47 | headers: | 94 | headers: |
48 | Cache-Control: ['max-age=180, public'] | 95 | Cache-Control: |
49 | Content-Type: [application/json; charset=utf-8] | 96 | - max-age=180, public |
50 | Date: ['Sat, 22 Feb 2020 19:29:30 GMT'] | 97 | Content-Security-Policy: |
51 | ETag: [W/"15eac66d04ddcb8db03b37ec6b56052c"] | 98 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
52 | Referrer-Policy: [strict-origin-when-cross-origin] | 99 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
53 | Transfer-Encoding: [chunked] | 100 | style-src ''self'' http://localhost:3000 ''nonce-FqC16iG+weTRPgQMP4cZ0w==''; |
54 | Vary: ['Accept-Encoding, Origin'] | 101 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
55 | X-Content-Type-Options: [nosniff] | 102 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
56 | X-Download-Options: [noopen] | 103 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
57 | X-Frame-Options: [SAMEORIGIN] | 104 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
58 | X-Permitted-Cross-Domain-Policies: [none] | 105 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
59 | X-Request-Id: [ab2a2580-0347-45fe-a823-9032306c34bd] | 106 | worker-src ''self'' blob: http://localhost:3000' |
60 | X-Runtime: ['0.061710'] | 107 | Content-Type: |
61 | X-XSS-Protection: [1; mode=block] | 108 | - application/json; charset=utf-8 |
62 | content-length: ['397'] | 109 | Date: |
63 | status: {code: 200, message: OK} | 110 | - Mon, 07 Nov 2022 19:55:01 GMT |
111 | ETag: | ||
112 | - W/"72067ee2508c0cd226e8d8c6ae38b1d3" | ||
113 | Referrer-Policy: | ||
114 | - strict-origin-when-cross-origin | ||
115 | Transfer-Encoding: | ||
116 | - chunked | ||
117 | Vary: | ||
118 | - Accept, Origin | ||
119 | X-Content-Type-Options: | ||
120 | - nosniff | ||
121 | X-Download-Options: | ||
122 | - noopen | ||
123 | X-Frame-Options: | ||
124 | - SAMEORIGIN | ||
125 | X-Permitted-Cross-Domain-Policies: | ||
126 | - none | ||
127 | X-Request-Id: | ||
128 | - d118ce68-156b-42b5-802a-d47181872bfd | ||
129 | X-Runtime: | ||
130 | - '0.016089' | ||
131 | X-XSS-Protection: | ||
132 | - 1; mode=block | ||
133 | status: | ||
134 | code: 200 | ||
135 | message: OK | ||
64 | - request: | 136 | - request: |
65 | body: null | 137 | body: null |
66 | headers: | 138 | headers: |
67 | Accept: ['*/*'] | 139 | Accept: |
68 | Accept-Encoding: ['gzip, deflate'] | 140 | - '*/*' |
69 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 141 | Accept-Encoding: |
70 | Connection: [keep-alive] | 142 | - gzip, deflate |
71 | User-Agent: [python-requests/2.18.4] | 143 | Authorization: |
144 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
145 | Connection: | ||
146 | - keep-alive | ||
147 | User-Agent: | ||
148 | - tests/v311 | ||
72 | method: GET | 149 | method: GET |
73 | uri: http://localhost:3000/api/v1/statuses/103704151048023690 | 150 | uri: http://localhost:3000/api/v1/statuses/109304276344120441 |
74 | response: | 151 | response: |
75 | body: {string: '{"id":"103704151048023690","created_at":"2020-02-22T19:29:25.765Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/103704151048023690","url":"http://localhost/@mastodonpy_test/103704151048023690","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003ca | 152 | body: |
76 | href=\"http://example.org/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003e\u003cspan | 153 | string: '{"id":"109304276344120441","created_at":"2022-11-07T19:54:56.365Z","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/109304276344120441","url":"http://localhost:3000/@mastodonpy_test/109304276344120441","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003ca |
154 | href=\"http://example.org/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"\u003e\u003cspan | ||
77 | class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan | 155 | class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan |
78 | class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 156 | class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
79 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example | 157 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
80 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""},"poll":null}'} | 158 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI |
159 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example | ||
160 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":"","blurhash":null},"poll":null}' | ||
81 | headers: | 161 | headers: |
82 | Cache-Control: ['no-cache, no-store'] | 162 | Cache-Control: |
83 | Content-Type: [application/json; charset=utf-8] | 163 | - no-store |
84 | Referrer-Policy: [strict-origin-when-cross-origin] | 164 | Content-Security-Policy: |
85 | Transfer-Encoding: [chunked] | 165 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
86 | Vary: ['Accept-Encoding, Origin'] | 166 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
87 | X-Content-Type-Options: [nosniff] | 167 | style-src ''self'' http://localhost:3000 ''nonce-xGCQvRSwv2QxS6YHfb9s3Q==''; |
88 | X-Download-Options: [noopen] | 168 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
89 | X-Frame-Options: [SAMEORIGIN] | 169 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
90 | X-Permitted-Cross-Domain-Policies: [none] | 170 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
91 | X-Request-Id: [aae055c7-5126-45f5-a09c-b9309bfccc1e] | 171 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
92 | X-Runtime: ['0.111941'] | 172 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
93 | X-XSS-Protection: [1; mode=block] | 173 | worker-src ''self'' blob: http://localhost:3000' |
94 | content-length: ['1805'] | 174 | Content-Type: |
95 | status: {code: 200, message: OK} | 175 | - application/json; charset=utf-8 |
176 | ETag: | ||
177 | - W/"62b37201a5c2a3e3962370132894526c" | ||
178 | Referrer-Policy: | ||
179 | - strict-origin-when-cross-origin | ||
180 | Transfer-Encoding: | ||
181 | - chunked | ||
182 | Vary: | ||
183 | - Accept, Origin | ||
184 | X-Content-Type-Options: | ||
185 | - nosniff | ||
186 | X-Download-Options: | ||
187 | - noopen | ||
188 | X-Frame-Options: | ||
189 | - SAMEORIGIN | ||
190 | X-Permitted-Cross-Domain-Policies: | ||
191 | - none | ||
192 | X-Request-Id: | ||
193 | - c568a430-9906-43bd-ab11-93c0d6f64fa0 | ||
194 | X-Runtime: | ||
195 | - '0.031727' | ||
196 | X-XSS-Protection: | ||
197 | - 1; mode=block | ||
198 | status: | ||
199 | code: 200 | ||
200 | message: OK | ||
96 | - request: | 201 | - request: |
97 | body: null | 202 | body: null |
98 | headers: | 203 | headers: |
99 | Accept: ['*/*'] | 204 | Accept: |
100 | Accept-Encoding: ['gzip, deflate'] | 205 | - '*/*' |
101 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 206 | Accept-Encoding: |
102 | Connection: [keep-alive] | 207 | - gzip, deflate |
103 | Content-Length: ['0'] | 208 | Authorization: |
104 | User-Agent: [python-requests/2.18.4] | 209 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
210 | Connection: | ||
211 | - keep-alive | ||
212 | Content-Length: | ||
213 | - '0' | ||
214 | User-Agent: | ||
215 | - tests/v311 | ||
105 | method: DELETE | 216 | method: DELETE |
106 | uri: http://localhost:3000/api/v1/statuses/103704151048023690 | 217 | uri: http://localhost:3000/api/v1/statuses/109304276344120441 |
107 | response: | 218 | response: |
108 | body: {string: '{"id":"103704151048023690","created_at":"2020-02-22T19:29:25.765Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/103704151048023690","url":"http://localhost/@mastodonpy_test/103704151048023690","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"http://example.org/","reblog":null,"application":{"name":"Mastodon.py | 219 | body: |
109 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example | 220 | string: '{"id":"109304276344120441","created_at":"2022-11-07T19:54:56.365Z","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/109304276344120441","url":"http://localhost:3000/@mastodonpy_test/109304276344120441","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"http://example.org/","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
110 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""},"poll":null}'} | 221 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
222 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
223 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example | ||
224 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":"","blurhash":null},"poll":null}' | ||
111 | headers: | 225 | headers: |
112 | Cache-Control: ['no-cache, no-store'] | 226 | Cache-Control: |
113 | Content-Type: [application/json; charset=utf-8] | 227 | - no-store |
114 | Referrer-Policy: [strict-origin-when-cross-origin] | 228 | Content-Security-Policy: |
115 | Transfer-Encoding: [chunked] | 229 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
116 | Vary: ['Accept-Encoding, Origin'] | 230 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
117 | X-Content-Type-Options: [nosniff] | 231 | style-src ''self'' http://localhost:3000 ''nonce-02mETcKZHgoxI1igs5LPHg==''; |
118 | X-Download-Options: [noopen] | 232 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
119 | X-Frame-Options: [SAMEORIGIN] | 233 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
120 | X-Permitted-Cross-Domain-Policies: [none] | 234 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
121 | X-Request-Id: [188c1457-6a40-4e4d-8896-d4f394639f4b] | 235 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
122 | X-Runtime: ['0.143641'] | 236 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
123 | X-XSS-Protection: [1; mode=block] | 237 | worker-src ''self'' blob: http://localhost:3000' |
124 | content-length: ['1514'] | 238 | Content-Type: |
125 | status: {code: 200, message: OK} | 239 | - application/json; charset=utf-8 |
240 | ETag: | ||
241 | - W/"7b7a35f4a3d6eebc729ccfdb575ef4f0" | ||
242 | Referrer-Policy: | ||
243 | - strict-origin-when-cross-origin | ||
244 | Transfer-Encoding: | ||
245 | - chunked | ||
246 | Vary: | ||
247 | - Accept, Origin | ||
248 | X-Content-Type-Options: | ||
249 | - nosniff | ||
250 | X-Download-Options: | ||
251 | - noopen | ||
252 | X-Frame-Options: | ||
253 | - SAMEORIGIN | ||
254 | X-Permitted-Cross-Domain-Policies: | ||
255 | - none | ||
256 | X-Request-Id: | ||
257 | - 2c4189a1-a282-4e9a-8d6c-365511c4b120 | ||
258 | X-Runtime: | ||
259 | - '0.029960' | ||
260 | X-XSS-Protection: | ||
261 | - 1; mode=block | ||
262 | status: | ||
263 | code: 200 | ||
264 | message: OK | ||
126 | version: 1 | 265 | version: 1 |