diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
commit | 3277ca777821e76955fb26d80788939a311db9db (patch) | |
tree | bef0749a451464d00e59fb3c685e6eb6d69a8a78 /tests/cassettes/test_stream_user_local.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_stream_user_local.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user_local.yaml | 343 |
1 files changed, 223 insertions, 120 deletions
diff --git a/tests/cassettes/test_stream_user_local.yaml b/tests/cassettes/test_stream_user_local.yaml index daa22ff..b858968 100644 --- a/tests/cassettes/test_stream_user_local.yaml +++ b/tests/cassettes/test_stream_user_local.yaml | |||
@@ -2,148 +2,251 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: null | 3 | body: null |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | - '*/*' |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 7 | Accept-Encoding: |
8 | Connection: [keep-alive] | 8 | - gzip, deflate |
9 | User-Agent: [python-requests/2.18.4] | 9 | Authorization: |
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
10 | method: GET | 15 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 16 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 17 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 18 | body: |
19 | string: '{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-07","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' | ||
14 | headers: | 20 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 21 | Cache-Control: |
16 | Content-Type: [application/json; charset=utf-8] | 22 | - no-store |
17 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Content-Security-Policy: |
18 | Transfer-Encoding: [chunked] | 24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
19 | Vary: ['Accept-Encoding, Origin'] | 25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
20 | X-Content-Type-Options: [nosniff] | 26 | style-src ''self'' http://localhost:3000 ''nonce-RpcagMalPkAlKm3kX+Nigw==''; |
21 | X-Download-Options: [noopen] | 27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
22 | X-Frame-Options: [SAMEORIGIN] | 28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
23 | X-Permitted-Cross-Domain-Policies: [none] | 29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
24 | X-Request-Id: [1f8b96b6-c78a-4428-974d-a86d47d1eed6] | 30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
25 | X-Runtime: ['0.050175'] | 31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
26 | X-XSS-Protection: [1; mode=block] | 32 | worker-src ''self'' blob: http://localhost:3000' |
27 | content-length: ['699'] | 33 | Content-Type: |
28 | status: {code: 200, message: OK} | 34 | - application/json; charset=utf-8 |
35 | ETag: | ||
36 | - W/"90c8995815af51b6af3ded8c73925bc8" | ||
37 | Referrer-Policy: | ||
38 | - strict-origin-when-cross-origin | ||
39 | Transfer-Encoding: | ||
40 | - chunked | ||
41 | Vary: | ||
42 | - Accept, Origin | ||
43 | X-Content-Type-Options: | ||
44 | - nosniff | ||
45 | X-Download-Options: | ||
46 | - noopen | ||
47 | X-Frame-Options: | ||
48 | - SAMEORIGIN | ||
49 | X-Permitted-Cross-Domain-Policies: | ||
50 | - none | ||
51 | X-Request-Id: | ||
52 | - f89a85e4-693e-4811-afe0-f48c96810a51 | ||
53 | X-Runtime: | ||
54 | - '0.012587' | ||
55 | X-XSS-Protection: | ||
56 | - 1; mode=block | ||
57 | status: | ||
58 | code: 200 | ||
59 | message: OK | ||
29 | - request: | 60 | - request: |
30 | body: null | 61 | body: null |
31 | headers: | 62 | headers: |
32 | Accept: ['*/*'] | 63 | Accept: |
33 | Accept-Encoding: ['gzip, deflate'] | 64 | - '*/*' |
34 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 65 | Accept-Encoding: |
35 | Connection: [keep-alive] | 66 | - gzip, deflate |
36 | Content-Length: ['0'] | 67 | Authorization: |
37 | User-Agent: [python-requests/2.18.4] | 68 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 |
69 | Connection: | ||
70 | - keep-alive | ||
71 | Content-Length: | ||
72 | - '0' | ||
73 | User-Agent: | ||
74 | - tests/v311 | ||
38 | method: POST | 75 | method: POST |
39 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 76 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/unfollow |
40 | response: | 77 | response: |
41 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 78 | body: |
79 | string: '{"id":"109304268902557892","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
42 | headers: | 80 | headers: |
43 | Cache-Control: ['no-cache, no-store'] | 81 | Cache-Control: |
44 | Content-Type: [application/json; charset=utf-8] | 82 | - no-store |
45 | Referrer-Policy: [strict-origin-when-cross-origin] | 83 | Content-Security-Policy: |
46 | Transfer-Encoding: [chunked] | 84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
47 | Vary: ['Accept-Encoding, Origin'] | 85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
48 | X-Content-Type-Options: [nosniff] | 86 | style-src ''self'' http://localhost:3000 ''nonce-MAcXmlpWzdjR1QngR+usSQ==''; |
49 | X-Download-Options: [noopen] | 87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
50 | X-Frame-Options: [SAMEORIGIN] | 88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
51 | X-Permitted-Cross-Domain-Policies: [none] | 89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
52 | X-Request-Id: [a35199a0-d2b2-4af6-9cfc-94b290dbd15b] | 90 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
53 | X-Runtime: ['0.046315'] | 91 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
54 | X-XSS-Protection: [1; mode=block] | 92 | worker-src ''self'' blob: http://localhost:3000' |
55 | content-length: ['211'] | 93 | Content-Type: |
56 | status: {code: 200, message: OK} | 94 | - application/json; charset=utf-8 |
95 | ETag: | ||
96 | - W/"8d8caa68e50963507d45a12d820e86b0" | ||
97 | Referrer-Policy: | ||
98 | - strict-origin-when-cross-origin | ||
99 | Transfer-Encoding: | ||
100 | - chunked | ||
101 | Vary: | ||
102 | - Accept, Origin | ||
103 | X-Content-Type-Options: | ||
104 | - nosniff | ||
105 | X-Download-Options: | ||
106 | - noopen | ||
107 | X-Frame-Options: | ||
108 | - SAMEORIGIN | ||
109 | X-Permitted-Cross-Domain-Policies: | ||
110 | - none | ||
111 | X-Request-Id: | ||
112 | - c46d293d-f470-4b9e-8831-885c9790b044 | ||
113 | X-Runtime: | ||
114 | - '0.011157' | ||
115 | X-XSS-Protection: | ||
116 | - 1; mode=block | ||
117 | status: | ||
118 | code: 200 | ||
119 | message: OK | ||
57 | - request: | 120 | - request: |
58 | body: null | 121 | body: null |
59 | headers: | 122 | headers: |
60 | Accept: ['*/*'] | 123 | Accept: |
61 | Accept-Encoding: ['gzip, deflate'] | 124 | - '*/*' |
62 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 125 | Accept-Encoding: |
63 | Connection: [keep-alive] | 126 | - gzip, deflate |
64 | User-Agent: [python-requests/2.18.4] | 127 | Authorization: |
128 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
129 | Connection: | ||
130 | - keep-alive | ||
131 | User-Agent: | ||
132 | - tests/v311 | ||
65 | method: GET | 133 | method: GET |
66 | uri: http://localhost:3000/api/v1/instance/ | 134 | uri: http://localhost:3000/api/v1/instance/ |
67 | response: | 135 | response: |
68 | 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}'} | 136 | body: |
137 | 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":14,"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":[]}' | ||
69 | headers: | 138 | headers: |
70 | Cache-Control: ['max-age=180, public'] | 139 | Cache-Control: |
71 | Content-Type: [application/json; charset=utf-8] | 140 | - max-age=180, public |
72 | Date: ['Sat, 22 Feb 2020 19:30:10 GMT'] | 141 | Content-Security-Policy: |
73 | ETag: [W/"b0ffa42b1b8e2eb0e6a9b3dae373b272"] | 142 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
74 | Referrer-Policy: [strict-origin-when-cross-origin] | 143 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
75 | Transfer-Encoding: [chunked] | 144 | style-src ''self'' http://localhost:3000 ''nonce-4tO2nlRskWft4h/Inu3sBQ==''; |
76 | Vary: ['Accept-Encoding, Origin'] | 145 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
77 | X-Content-Type-Options: [nosniff] | 146 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
78 | X-Download-Options: [noopen] | 147 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
79 | X-Frame-Options: [SAMEORIGIN] | 148 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
80 | X-Permitted-Cross-Domain-Policies: [none] | 149 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
81 | X-Request-Id: [a5901c8a-4df0-4746-9545-6458e7e8fcbb] | 150 | worker-src ''self'' blob: http://localhost:3000' |
82 | X-Runtime: ['0.047905'] | 151 | Content-Type: |
83 | X-XSS-Protection: [1; mode=block] | 152 | - application/json; charset=utf-8 |
84 | content-length: ['397'] | 153 | Date: |
85 | status: {code: 200, message: OK} | 154 | - Mon, 07 Nov 2022 20:27:36 GMT |
155 | ETag: | ||
156 | - W/"100afec8ba2625ff54d1d1079e4fd969" | ||
157 | Referrer-Policy: | ||
158 | - strict-origin-when-cross-origin | ||
159 | Transfer-Encoding: | ||
160 | - chunked | ||
161 | Vary: | ||
162 | - Accept, Origin | ||
163 | X-Content-Type-Options: | ||
164 | - nosniff | ||
165 | X-Download-Options: | ||
166 | - noopen | ||
167 | X-Frame-Options: | ||
168 | - SAMEORIGIN | ||
169 | X-Permitted-Cross-Domain-Policies: | ||
170 | - none | ||
171 | X-Request-Id: | ||
172 | - 38937a94-a112-488b-804f-93d77fdeddc7 | ||
173 | X-Runtime: | ||
174 | - '0.013652' | ||
175 | X-XSS-Protection: | ||
176 | - 1; mode=block | ||
177 | status: | ||
178 | code: 200 | ||
179 | message: OK | ||
86 | - request: | 180 | - request: |
87 | body: status=it%27s+cool+guy | 181 | body: status=it%27s+cool+guy |
88 | headers: | 182 | headers: |
89 | Accept: ['*/*'] | 183 | Accept: |
90 | Accept-Encoding: ['gzip, deflate'] | 184 | - '*/*' |
91 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 185 | Accept-Encoding: |
92 | Connection: [keep-alive] | 186 | - gzip, deflate |
93 | Content-Length: ['22'] | 187 | Authorization: |
94 | Content-Type: [application/x-www-form-urlencoded] | 188 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
95 | User-Agent: [python-requests/2.18.4] | 189 | Connection: |
190 | - keep-alive | ||
191 | Content-Length: | ||
192 | - '22' | ||
193 | Content-Type: | ||
194 | - application/x-www-form-urlencoded | ||
195 | User-Agent: | ||
196 | - tests/v311 | ||
96 | method: POST | 197 | method: POST |
97 | uri: http://localhost:3000/api/v1/statuses | 198 | uri: http://localhost:3000/api/v1/statuses |
98 | response: | 199 | response: |
99 | body: {string: '{"id":"103704154287057569","created_at":"2020-02-22T19:30:15.186Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704154287057569","url":"http://localhost/@mastodonpy_test/103704154287057569","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eit\u0026apos;s | 200 | body: |
100 | cool guy\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test | 201 | string: '{"id":"109304405122614430","created_at":"2022-11-07T20:27:41.369Z","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/109304405122614430","url":"http://localhost:3000/@mastodonpy_test/109304405122614430","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 |
101 | 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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 202 | cool guy\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
203 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
204 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
205 | 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":6,"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}' | ||
102 | headers: | 206 | headers: |
103 | Cache-Control: ['no-cache, no-store'] | 207 | Cache-Control: |
104 | Content-Type: [application/json; charset=utf-8] | 208 | - no-store |
105 | Referrer-Policy: [strict-origin-when-cross-origin] | 209 | Content-Security-Policy: |
106 | Transfer-Encoding: [chunked] | 210 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
107 | Vary: ['Accept-Encoding, Origin'] | 211 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
108 | X-Content-Type-Options: [nosniff] | 212 | style-src ''self'' http://localhost:3000 ''nonce-6fIwlj9EEY0/cPsP7RC+Dw==''; |
109 | X-Download-Options: [noopen] | 213 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
110 | X-Frame-Options: [SAMEORIGIN] | 214 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
111 | X-Permitted-Cross-Domain-Policies: [none] | 215 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
112 | X-Request-Id: [dfb25e3b-98fd-4270-b6b8-4377a469a4a2] | 216 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
113 | X-Runtime: ['0.266320'] | 217 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
114 | X-XSS-Protection: [1; mode=block] | 218 | worker-src ''self'' blob: http://localhost:3000' |
115 | content-length: ['1338'] | 219 | Content-Type: |
116 | status: {code: 200, message: OK} | 220 | - application/json; charset=utf-8 |
117 | - request: | 221 | ETag: |
118 | body: null | 222 | - W/"8382cab430d21878647eeca6662d1957" |
119 | headers: | 223 | Referrer-Policy: |
120 | Accept: ['*/*'] | 224 | - strict-origin-when-cross-origin |
121 | Accept-Encoding: ['gzip, deflate'] | 225 | Transfer-Encoding: |
122 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 226 | - chunked |
123 | Connection: [keep-alive] | 227 | Vary: |
124 | User-Agent: [python-requests/2.18.4] | 228 | - Accept, Origin |
125 | method: GET | 229 | X-Content-Type-Options: |
126 | uri: http://localhost:4000/api/v1/streaming/user | 230 | - nosniff |
127 | response: | 231 | X-Download-Options: |
128 | body: {string: ':) | 232 | - noopen |
129 | 233 | X-Frame-Options: | |
130 | event: update | 234 | - SAMEORIGIN |
131 | 235 | X-Permitted-Cross-Domain-Policies: | |
132 | data: {"id":"103704154287057569","created_at":"2020-02-22T19:30:15.186Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704154287057569","url":"http://localhost/@mastodonpy_test/103704154287057569","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"<p>it's | 236 | - none |
133 | cool guy</p>","reblog":null,"application":{"name":"Mastodon.py 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":"<p></p>","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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | 237 | X-RateLimit-Limit: |
134 | 238 | - '300' | |
135 | 239 | X-RateLimit-Remaining: | |
136 | :'} | 240 | - '187' |
137 | headers: | 241 | X-RateLimit-Reset: |
138 | Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control'] | 242 | - '2022-11-07T21:00:00.390918Z' |
139 | Access-Control-Allow-Methods: ['GET, OPTIONS'] | 243 | X-Request-Id: |
140 | Access-Control-Allow-Origin: ['*'] | 244 | - c9439b68-57ce-4df5-a00b-1e2cd29b7133 |
141 | Cache-Control: [no-store] | 245 | X-Runtime: |
142 | Connection: [keep-alive] | 246 | - '0.034771' |
143 | Content-Type: [text/event-stream] | 247 | X-XSS-Protection: |
144 | Date: ['Sat, 22 Feb 2020 19:30:10 GMT'] | 248 | - 1; mode=block |
145 | Transfer-Encoding: [chunked] | 249 | status: |
146 | X-Powered-By: [Express] | 250 | code: 200 |
147 | X-Request-Id: [adfda15c-cfd5-495f-8392-44653eeea43c] | 251 | message: OK |
148 | status: {code: 200, message: OK} | ||
149 | version: 1 | 252 | version: 1 |