diff options
Diffstat (limited to 'tests/cassettes/test_list_add_remove_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_add_remove_account.yaml | 1077 |
1 files changed, 771 insertions, 306 deletions
diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml index e3f3e99..959c689 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml | |||
@@ -2,396 +2,861 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: title=ham+burglars | 3 | body: title=ham+burglars |
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: ['18'] | 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 | - '18' | ||
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/lists | 20 | uri: http://localhost:3000/api/v1/lists |
14 | response: | 21 | response: |
15 | body: {string: '{"id":"3","title":"ham burglars"}'} | 22 | body: |
23 | string: '{"id":"3","title":"ham burglars","replies_policy":"list"}' | ||
16 | headers: | 24 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 25 | Cache-Control: |
18 | Content-Type: [application/json; charset=utf-8] | 26 | - no-store |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 27 | Content-Security-Policy: |
20 | Transfer-Encoding: [chunked] | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
21 | Vary: ['Accept-Encoding, Origin'] | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
22 | X-Content-Type-Options: [nosniff] | 30 | style-src ''self'' http://localhost:3000 ''nonce-0hFrZOP0aQshPTaxMX/faA==''; |
23 | X-Download-Options: [noopen] | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
24 | X-Frame-Options: [SAMEORIGIN] | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
25 | X-Permitted-Cross-Domain-Policies: [none] | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
26 | X-Request-Id: [aa7ea0f4-a379-4b94-a763-dfae6ce5d9d2] | 34 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
27 | X-Runtime: ['0.036237'] | 35 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
28 | X-XSS-Protection: [1; mode=block] | 36 | worker-src ''self'' blob: http://localhost:3000' |
29 | content-length: ['33'] | 37 | Content-Type: |
30 | status: {code: 200, message: OK} | 38 | - application/json; charset=utf-8 |
39 | ETag: | ||
40 | - W/"f5f11dad6b316a07ef1e63ab9d60b43b" | ||
41 | Referrer-Policy: | ||
42 | - strict-origin-when-cross-origin | ||
43 | Transfer-Encoding: | ||
44 | - chunked | ||
45 | Vary: | ||
46 | - Accept, Origin | ||
47 | X-Content-Type-Options: | ||
48 | - nosniff | ||
49 | X-Download-Options: | ||
50 | - noopen | ||
51 | X-Frame-Options: | ||
52 | - SAMEORIGIN | ||
53 | X-Permitted-Cross-Domain-Policies: | ||
54 | - none | ||
55 | X-Request-Id: | ||
56 | - 4d78792e-b997-42d1-a977-9903c1586fe8 | ||
57 | X-Runtime: | ||
58 | - '0.010727' | ||
59 | X-XSS-Protection: | ||
60 | - 1; mode=block | ||
61 | status: | ||
62 | code: 200 | ||
63 | message: OK | ||
31 | - request: | 64 | - request: |
32 | body: null | 65 | body: null |
33 | headers: | 66 | headers: |
34 | Accept: ['*/*'] | 67 | Accept: |
35 | Accept-Encoding: ['gzip, deflate'] | 68 | - '*/*' |
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 69 | Accept-Encoding: |
37 | Connection: [keep-alive] | 70 | - gzip, deflate |
38 | User-Agent: [python-requests/2.18.4] | 71 | Authorization: |
72 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
73 | Connection: | ||
74 | - keep-alive | ||
75 | User-Agent: | ||
76 | - tests/v311 | ||
39 | method: GET | 77 | method: GET |
40 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 78 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
41 | response: | 79 | response: |
42 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 80 | body: |
81 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"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}}' | ||
43 | headers: | 82 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 83 | Cache-Control: |
45 | Content-Type: [application/json; charset=utf-8] | 84 | - no-store |
46 | Referrer-Policy: [strict-origin-when-cross-origin] | 85 | Content-Security-Policy: |
47 | Transfer-Encoding: [chunked] | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
48 | Vary: ['Accept-Encoding, Origin'] | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
49 | X-Content-Type-Options: [nosniff] | 88 | style-src ''self'' http://localhost:3000 ''nonce-TQ6MLyfJyH3FXBWWwj9b9w==''; |
50 | X-Download-Options: [noopen] | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
51 | X-Frame-Options: [SAMEORIGIN] | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
52 | X-Permitted-Cross-Domain-Policies: [none] | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
53 | X-Request-Id: [0d02ae01-4b3a-4401-b691-f8628b41338c] | 92 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
54 | X-Runtime: ['0.038679'] | 93 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
55 | X-XSS-Protection: [1; mode=block] | 94 | worker-src ''self'' blob: http://localhost:3000' |
56 | content-length: ['699'] | 95 | Content-Type: |
57 | status: {code: 200, message: OK} | 96 | - application/json; charset=utf-8 |
97 | ETag: | ||
98 | - W/"ff008c78a20a9329cc5630f551dfac18" | ||
99 | Referrer-Policy: | ||
100 | - strict-origin-when-cross-origin | ||
101 | Transfer-Encoding: | ||
102 | - chunked | ||
103 | Vary: | ||
104 | - Accept, Origin | ||
105 | X-Content-Type-Options: | ||
106 | - nosniff | ||
107 | X-Download-Options: | ||
108 | - noopen | ||
109 | X-Frame-Options: | ||
110 | - SAMEORIGIN | ||
111 | X-Permitted-Cross-Domain-Policies: | ||
112 | - none | ||
113 | X-Request-Id: | ||
114 | - d6dd80ad-9b3a-4c62-845b-218b54800f49 | ||
115 | X-Runtime: | ||
116 | - '0.017449' | ||
117 | X-XSS-Protection: | ||
118 | - 1; mode=block | ||
119 | status: | ||
120 | code: 200 | ||
121 | message: OK | ||
58 | - request: | 122 | - request: |
59 | body: reblogs=1&id=1 | 123 | body: id=109304268902557892&reblogs=1 |
60 | headers: | 124 | headers: |
61 | Accept: ['*/*'] | 125 | Accept: |
62 | Accept-Encoding: ['gzip, deflate'] | 126 | - '*/*' |
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 127 | Accept-Encoding: |
64 | Connection: [keep-alive] | 128 | - gzip, deflate |
65 | Content-Length: ['14'] | 129 | Authorization: |
66 | Content-Type: [application/x-www-form-urlencoded] | 130 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
67 | User-Agent: [python-requests/2.18.4] | 131 | Connection: |
132 | - keep-alive | ||
133 | Content-Length: | ||
134 | - '31' | ||
135 | Content-Type: | ||
136 | - application/x-www-form-urlencoded | ||
137 | User-Agent: | ||
138 | - tests/v311 | ||
68 | method: POST | 139 | method: POST |
69 | uri: http://localhost:3000/api/v1/accounts/1/follow | 140 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/follow |
70 | response: | 141 | response: |
71 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 142 | body: |
143 | string: '{"id":"109304268902557892","following":true,"showing_reblogs":true,"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":""}' | ||
72 | headers: | 144 | headers: |
73 | Cache-Control: ['no-cache, no-store'] | 145 | Cache-Control: |
74 | Content-Type: [application/json; charset=utf-8] | 146 | - no-store |
75 | Referrer-Policy: [strict-origin-when-cross-origin] | 147 | Content-Security-Policy: |
76 | Transfer-Encoding: [chunked] | 148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
77 | Vary: ['Accept-Encoding, Origin'] | 149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
78 | X-Content-Type-Options: [nosniff] | 150 | style-src ''self'' http://localhost:3000 ''nonce-kOeJ5WhtWciNDzPRxj8N+Q==''; |
79 | X-Download-Options: [noopen] | 151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
80 | X-Frame-Options: [SAMEORIGIN] | 152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
81 | X-Permitted-Cross-Domain-Policies: [none] | 153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
82 | X-Request-Id: [a998059d-5d5f-42e8-990c-000c27a8595d] | 154 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
83 | X-Runtime: ['0.047697'] | 155 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
84 | X-XSS-Protection: [1; mode=block] | 156 | worker-src ''self'' blob: http://localhost:3000' |
85 | content-length: ['209'] | 157 | Content-Type: |
86 | status: {code: 200, message: OK} | 158 | - application/json; charset=utf-8 |
159 | ETag: | ||
160 | - W/"328aa28d0debfcbfaef3df0c7630cbd8" | ||
161 | Referrer-Policy: | ||
162 | - strict-origin-when-cross-origin | ||
163 | Transfer-Encoding: | ||
164 | - chunked | ||
165 | Vary: | ||
166 | - Accept, Origin | ||
167 | X-Content-Type-Options: | ||
168 | - nosniff | ||
169 | X-Download-Options: | ||
170 | - noopen | ||
171 | X-Frame-Options: | ||
172 | - SAMEORIGIN | ||
173 | X-Permitted-Cross-Domain-Policies: | ||
174 | - none | ||
175 | X-RateLimit-Limit: | ||
176 | - '400' | ||
177 | X-RateLimit-Remaining: | ||
178 | - '396' | ||
179 | X-RateLimit-Reset: | ||
180 | - '2022-11-08T00:00:00.410825Z' | ||
181 | X-Request-Id: | ||
182 | - e3d39309-d8e5-47f4-8110-156f7af20e73 | ||
183 | X-Runtime: | ||
184 | - '0.014827' | ||
185 | X-XSS-Protection: | ||
186 | - 1; mode=block | ||
187 | status: | ||
188 | code: 200 | ||
189 | message: OK | ||
87 | - request: | 190 | - request: |
88 | body: account_ids%5B%5D=1 | 191 | body: account_ids%5B%5D=109304268902557892 |
89 | headers: | 192 | headers: |
90 | Accept: ['*/*'] | 193 | Accept: |
91 | Accept-Encoding: ['gzip, deflate'] | 194 | - '*/*' |
92 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 195 | Accept-Encoding: |
93 | Connection: [keep-alive] | 196 | - gzip, deflate |
94 | Content-Length: ['19'] | 197 | Authorization: |
95 | Content-Type: [application/x-www-form-urlencoded] | 198 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
96 | User-Agent: [python-requests/2.18.4] | 199 | Connection: |
200 | - keep-alive | ||
201 | Content-Length: | ||
202 | - '36' | ||
203 | Content-Type: | ||
204 | - application/x-www-form-urlencoded | ||
205 | User-Agent: | ||
206 | - tests/v311 | ||
97 | method: POST | 207 | method: POST |
98 | uri: http://localhost:3000/api/v1/lists/3/accounts | 208 | uri: http://localhost:3000/api/v1/lists/3/accounts |
99 | response: | 209 | response: |
100 | body: {string: '{}'} | 210 | body: |
211 | string: '{}' | ||
101 | headers: | 212 | headers: |
102 | Cache-Control: ['no-cache, no-store'] | 213 | Cache-Control: |
103 | Content-Type: [application/json; charset=utf-8] | 214 | - no-store |
104 | Referrer-Policy: [strict-origin-when-cross-origin] | 215 | Content-Security-Policy: |
105 | Transfer-Encoding: [chunked] | 216 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
106 | Vary: ['Accept-Encoding, Origin'] | 217 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
107 | X-Content-Type-Options: [nosniff] | 218 | style-src ''self'' http://localhost:3000 ''nonce-F6EijnBoYSB+bGSuG4Uypw==''; |
108 | X-Download-Options: [noopen] | 219 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
109 | X-Frame-Options: [SAMEORIGIN] | 220 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
110 | X-Permitted-Cross-Domain-Policies: [none] | 221 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
111 | X-Request-Id: [001e49fa-90d3-4a32-bbf8-668cc8bcabde] | 222 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
112 | X-Runtime: ['0.115558'] | 223 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
113 | X-XSS-Protection: [1; mode=block] | 224 | worker-src ''self'' blob: http://localhost:3000' |
114 | content-length: ['2'] | 225 | Content-Type: |
115 | status: {code: 200, message: OK} | 226 | - application/json; charset=utf-8 |
227 | ETag: | ||
228 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
229 | Referrer-Policy: | ||
230 | - strict-origin-when-cross-origin | ||
231 | Transfer-Encoding: | ||
232 | - chunked | ||
233 | Vary: | ||
234 | - Accept, Origin | ||
235 | X-Content-Type-Options: | ||
236 | - nosniff | ||
237 | X-Download-Options: | ||
238 | - noopen | ||
239 | X-Frame-Options: | ||
240 | - SAMEORIGIN | ||
241 | X-Permitted-Cross-Domain-Policies: | ||
242 | - none | ||
243 | X-Request-Id: | ||
244 | - 915d13dc-ef68-4866-b053-c3cf498ce3e3 | ||
245 | X-Runtime: | ||
246 | - '0.020356' | ||
247 | X-XSS-Protection: | ||
248 | - 1; mode=block | ||
249 | status: | ||
250 | code: 200 | ||
251 | message: OK | ||
116 | - request: | 252 | - request: |
117 | body: null | 253 | body: null |
118 | headers: | 254 | headers: |
119 | Accept: ['*/*'] | 255 | Accept: |
120 | Accept-Encoding: ['gzip, deflate'] | 256 | - '*/*' |
121 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 257 | Accept-Encoding: |
122 | Connection: [keep-alive] | 258 | - gzip, deflate |
123 | User-Agent: [python-requests/2.18.4] | 259 | Authorization: |
260 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
261 | Connection: | ||
262 | - keep-alive | ||
263 | User-Agent: | ||
264 | - tests/v311 | ||
124 | method: GET | 265 | method: GET |
125 | uri: http://localhost:3000/api/v1/lists/3/accounts | 266 | uri: http://localhost:3000/api/v1/lists/3/accounts |
126 | response: | 267 | response: |
127 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'} | 268 | body: |
269 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}]' | ||
128 | headers: | 270 | headers: |
129 | Cache-Control: ['no-cache, no-store'] | 271 | Cache-Control: |
130 | Content-Type: [application/json; charset=utf-8] | 272 | - no-store |
131 | Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"'] | 273 | Content-Security-Policy: |
132 | Referrer-Policy: [strict-origin-when-cross-origin] | 274 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
133 | Transfer-Encoding: [chunked] | 275 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
134 | Vary: ['Accept-Encoding, Origin'] | 276 | style-src ''self'' http://localhost:3000 ''nonce-D5iHPzOhQj9btKRGgTcXOw==''; |
135 | X-Content-Type-Options: [nosniff] | 277 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
136 | X-Download-Options: [noopen] | 278 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
137 | X-Frame-Options: [SAMEORIGIN] | 279 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
138 | X-Permitted-Cross-Domain-Policies: [none] | 280 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
139 | X-Request-Id: [38b2be97-13f6-436c-ae6f-99eada513482] | 281 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
140 | X-Runtime: ['0.046362'] | 282 | worker-src ''self'' blob: http://localhost:3000' |
141 | X-XSS-Protection: [1; mode=block] | 283 | Content-Type: |
142 | content-length: ['589'] | 284 | - application/json; charset=utf-8 |
143 | status: {code: 200, message: OK} | 285 | ETag: |
286 | - W/"556f11080e4d8472f8e5c4076996220f" | ||
287 | Link: | ||
288 | - <http://localhost:3000/api/v1/lists/3/accounts?since_id=109304268902557892>; | ||
289 | rel="prev" | ||
290 | Referrer-Policy: | ||
291 | - strict-origin-when-cross-origin | ||
292 | Transfer-Encoding: | ||
293 | - chunked | ||
294 | Vary: | ||
295 | - Accept, Origin | ||
296 | X-Content-Type-Options: | ||
297 | - nosniff | ||
298 | X-Download-Options: | ||
299 | - noopen | ||
300 | X-Frame-Options: | ||
301 | - SAMEORIGIN | ||
302 | X-Permitted-Cross-Domain-Policies: | ||
303 | - none | ||
304 | X-Request-Id: | ||
305 | - 3673141b-b3bf-4bfc-943c-002bb0519b53 | ||
306 | X-Runtime: | ||
307 | - '0.012527' | ||
308 | X-XSS-Protection: | ||
309 | - 1; mode=block | ||
310 | status: | ||
311 | code: 200 | ||
312 | message: OK | ||
144 | - request: | 313 | - request: |
145 | body: null | 314 | body: null |
146 | headers: | 315 | headers: |
147 | Accept: ['*/*'] | 316 | Accept: |
148 | Accept-Encoding: ['gzip, deflate'] | 317 | - '*/*' |
149 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 318 | Accept-Encoding: |
150 | Connection: [keep-alive] | 319 | - gzip, deflate |
151 | Content-Length: ['0'] | 320 | Authorization: |
152 | User-Agent: [python-requests/2.18.4] | 321 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
322 | Connection: | ||
323 | - keep-alive | ||
324 | Content-Length: | ||
325 | - '0' | ||
326 | User-Agent: | ||
327 | - tests/v311 | ||
153 | method: POST | 328 | method: POST |
154 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 329 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/unfollow |
155 | response: | 330 | response: |
156 | 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}'} | 331 | body: |
332 | 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":""}' | ||
157 | headers: | 333 | headers: |
158 | Cache-Control: ['no-cache, no-store'] | 334 | Cache-Control: |
159 | Content-Type: [application/json; charset=utf-8] | 335 | - no-store |
160 | Referrer-Policy: [strict-origin-when-cross-origin] | 336 | Content-Security-Policy: |
161 | Transfer-Encoding: [chunked] | 337 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
162 | Vary: ['Accept-Encoding, Origin'] | 338 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
163 | X-Content-Type-Options: [nosniff] | 339 | style-src ''self'' http://localhost:3000 ''nonce-XxQoGBMmjQ3iZWh8Z+gU8w==''; |
164 | X-Download-Options: [noopen] | 340 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
165 | X-Frame-Options: [SAMEORIGIN] | 341 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
166 | X-Permitted-Cross-Domain-Policies: [none] | 342 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
167 | X-Request-Id: [63b1aed6-cdac-4aca-8d24-565455586e2e] | 343 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
168 | X-Runtime: ['0.083102'] | 344 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
169 | X-XSS-Protection: [1; mode=block] | 345 | worker-src ''self'' blob: http://localhost:3000' |
170 | content-length: ['211'] | 346 | Content-Type: |
171 | status: {code: 200, message: OK} | 347 | - application/json; charset=utf-8 |
348 | ETag: | ||
349 | - W/"8d8caa68e50963507d45a12d820e86b0" | ||
350 | Referrer-Policy: | ||
351 | - strict-origin-when-cross-origin | ||
352 | Transfer-Encoding: | ||
353 | - chunked | ||
354 | Vary: | ||
355 | - Accept, Origin | ||
356 | X-Content-Type-Options: | ||
357 | - nosniff | ||
358 | X-Download-Options: | ||
359 | - noopen | ||
360 | X-Frame-Options: | ||
361 | - SAMEORIGIN | ||
362 | X-Permitted-Cross-Domain-Policies: | ||
363 | - none | ||
364 | X-Request-Id: | ||
365 | - b6307e5d-769c-496e-822b-9264a1354c90 | ||
366 | X-Runtime: | ||
367 | - '0.017586' | ||
368 | X-XSS-Protection: | ||
369 | - 1; mode=block | ||
370 | status: | ||
371 | code: 200 | ||
372 | message: OK | ||
172 | - request: | 373 | - request: |
173 | body: null | 374 | body: null |
174 | headers: | 375 | headers: |
175 | Accept: ['*/*'] | 376 | Accept: |
176 | Accept-Encoding: ['gzip, deflate'] | 377 | - '*/*' |
177 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 378 | Accept-Encoding: |
178 | Connection: [keep-alive] | 379 | - gzip, deflate |
179 | User-Agent: [python-requests/2.18.4] | 380 | Authorization: |
381 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
382 | Connection: | ||
383 | - keep-alive | ||
384 | User-Agent: | ||
385 | - tests/v311 | ||
180 | method: GET | 386 | method: GET |
181 | uri: http://localhost:3000/api/v1/lists/3/accounts | 387 | uri: http://localhost:3000/api/v1/lists/3/accounts |
182 | response: | 388 | response: |
183 | body: {string: '[]'} | 389 | body: |
390 | string: '[]' | ||
184 | headers: | 391 | headers: |
185 | Cache-Control: ['no-cache, no-store'] | 392 | Cache-Control: |
186 | Content-Type: [application/json; charset=utf-8] | 393 | - no-store |
187 | Referrer-Policy: [strict-origin-when-cross-origin] | 394 | Content-Security-Policy: |
188 | Transfer-Encoding: [chunked] | 395 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
189 | Vary: ['Accept-Encoding, Origin'] | 396 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
190 | X-Content-Type-Options: [nosniff] | 397 | style-src ''self'' http://localhost:3000 ''nonce-4aWvvkG/4Luquj7C5QhYUg==''; |
191 | X-Download-Options: [noopen] | 398 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
192 | X-Frame-Options: [SAMEORIGIN] | 399 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
193 | X-Permitted-Cross-Domain-Policies: [none] | 400 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
194 | X-Request-Id: [2b6696e2-f70e-4319-a39e-61a4705e4539] | 401 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
195 | X-Runtime: ['0.035035'] | 402 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
196 | X-XSS-Protection: [1; mode=block] | 403 | worker-src ''self'' blob: http://localhost:3000' |
197 | content-length: ['2'] | 404 | Content-Type: |
198 | status: {code: 200, message: OK} | 405 | - application/json; charset=utf-8 |
406 | ETag: | ||
407 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
408 | Referrer-Policy: | ||
409 | - strict-origin-when-cross-origin | ||
410 | Transfer-Encoding: | ||
411 | - chunked | ||
412 | Vary: | ||
413 | - Accept, Origin | ||
414 | X-Content-Type-Options: | ||
415 | - nosniff | ||
416 | X-Download-Options: | ||
417 | - noopen | ||
418 | X-Frame-Options: | ||
419 | - SAMEORIGIN | ||
420 | X-Permitted-Cross-Domain-Policies: | ||
421 | - none | ||
422 | X-Request-Id: | ||
423 | - e71c13b2-750b-4831-96a3-d3c86e2b1351 | ||
424 | X-Runtime: | ||
425 | - '0.008147' | ||
426 | X-XSS-Protection: | ||
427 | - 1; mode=block | ||
428 | status: | ||
429 | code: 200 | ||
430 | message: OK | ||
199 | - request: | 431 | - request: |
200 | body: reblogs=1&id=1 | 432 | body: id=109304268902557892&reblogs=1 |
201 | headers: | 433 | headers: |
202 | Accept: ['*/*'] | 434 | Accept: |
203 | Accept-Encoding: ['gzip, deflate'] | 435 | - '*/*' |
204 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 436 | Accept-Encoding: |
205 | Connection: [keep-alive] | 437 | - gzip, deflate |
206 | Content-Length: ['14'] | 438 | Authorization: |
207 | Content-Type: [application/x-www-form-urlencoded] | 439 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
208 | User-Agent: [python-requests/2.18.4] | 440 | Connection: |
441 | - keep-alive | ||
442 | Content-Length: | ||
443 | - '31' | ||
444 | Content-Type: | ||
445 | - application/x-www-form-urlencoded | ||
446 | User-Agent: | ||
447 | - tests/v311 | ||
209 | method: POST | 448 | method: POST |
210 | uri: http://localhost:3000/api/v1/accounts/1/follow | 449 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/follow |
211 | response: | 450 | response: |
212 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 451 | body: |
452 | string: '{"id":"109304268902557892","following":true,"showing_reblogs":true,"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":""}' | ||
213 | headers: | 453 | headers: |
214 | Cache-Control: ['no-cache, no-store'] | 454 | Cache-Control: |
215 | Content-Type: [application/json; charset=utf-8] | 455 | - no-store |
216 | Referrer-Policy: [strict-origin-when-cross-origin] | 456 | Content-Security-Policy: |
217 | Transfer-Encoding: [chunked] | 457 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
218 | Vary: ['Accept-Encoding, Origin'] | 458 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
219 | X-Content-Type-Options: [nosniff] | 459 | style-src ''self'' http://localhost:3000 ''nonce-Ro67cxhV4ukrIR+MAyA6dQ==''; |
220 | X-Download-Options: [noopen] | 460 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
221 | X-Frame-Options: [SAMEORIGIN] | 461 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
222 | X-Permitted-Cross-Domain-Policies: [none] | 462 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
223 | X-Request-Id: [5bcef462-4f07-41a7-b4c9-c171e93200fc] | 463 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
224 | X-Runtime: ['0.119198'] | 464 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
225 | X-XSS-Protection: [1; mode=block] | 465 | worker-src ''self'' blob: http://localhost:3000' |
226 | content-length: ['209'] | 466 | Content-Type: |
227 | status: {code: 200, message: OK} | 467 | - application/json; charset=utf-8 |
468 | ETag: | ||
469 | - W/"328aa28d0debfcbfaef3df0c7630cbd8" | ||
470 | Referrer-Policy: | ||
471 | - strict-origin-when-cross-origin | ||
472 | Transfer-Encoding: | ||
473 | - chunked | ||
474 | Vary: | ||
475 | - Accept, Origin | ||
476 | X-Content-Type-Options: | ||
477 | - nosniff | ||
478 | X-Download-Options: | ||
479 | - noopen | ||
480 | X-Frame-Options: | ||
481 | - SAMEORIGIN | ||
482 | X-Permitted-Cross-Domain-Policies: | ||
483 | - none | ||
484 | X-RateLimit-Limit: | ||
485 | - '400' | ||
486 | X-RateLimit-Remaining: | ||
487 | - '395' | ||
488 | X-RateLimit-Reset: | ||
489 | - '2022-11-08T00:00:00.507724Z' | ||
490 | X-Request-Id: | ||
491 | - 4d66f5e5-7775-4031-a189-6e8bb0b7286f | ||
492 | X-Runtime: | ||
493 | - '0.020380' | ||
494 | X-XSS-Protection: | ||
495 | - 1; mode=block | ||
496 | status: | ||
497 | code: 200 | ||
498 | message: OK | ||
228 | - request: | 499 | - request: |
229 | body: account_ids%5B%5D=1 | 500 | body: account_ids%5B%5D=109304268902557892 |
230 | headers: | 501 | headers: |
231 | Accept: ['*/*'] | 502 | Accept: |
232 | Accept-Encoding: ['gzip, deflate'] | 503 | - '*/*' |
233 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 504 | Accept-Encoding: |
234 | Connection: [keep-alive] | 505 | - gzip, deflate |
235 | Content-Length: ['19'] | 506 | Authorization: |
236 | Content-Type: [application/x-www-form-urlencoded] | 507 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
237 | User-Agent: [python-requests/2.18.4] | 508 | Connection: |
509 | - keep-alive | ||
510 | Content-Length: | ||
511 | - '36' | ||
512 | Content-Type: | ||
513 | - application/x-www-form-urlencoded | ||
514 | User-Agent: | ||
515 | - tests/v311 | ||
238 | method: POST | 516 | method: POST |
239 | uri: http://localhost:3000/api/v1/lists/3/accounts | 517 | uri: http://localhost:3000/api/v1/lists/3/accounts |
240 | response: | 518 | response: |
241 | body: {string: '{}'} | 519 | body: |
520 | string: '{}' | ||
242 | headers: | 521 | headers: |
243 | Cache-Control: ['no-cache, no-store'] | 522 | Cache-Control: |
244 | Content-Type: [application/json; charset=utf-8] | 523 | - no-store |
245 | Referrer-Policy: [strict-origin-when-cross-origin] | 524 | Content-Security-Policy: |
246 | Transfer-Encoding: [chunked] | 525 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
247 | Vary: ['Accept-Encoding, Origin'] | 526 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
248 | X-Content-Type-Options: [nosniff] | 527 | style-src ''self'' http://localhost:3000 ''nonce-8KkM1wN4EvUrDzbLHWLGRg==''; |
249 | X-Download-Options: [noopen] | 528 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
250 | X-Frame-Options: [SAMEORIGIN] | 529 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
251 | X-Permitted-Cross-Domain-Policies: [none] | 530 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
252 | X-Request-Id: [309e20e5-4748-4936-b2cb-45a7fa2eb106] | 531 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
253 | X-Runtime: ['0.079076'] | 532 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
254 | X-XSS-Protection: [1; mode=block] | 533 | worker-src ''self'' blob: http://localhost:3000' |
255 | content-length: ['2'] | 534 | Content-Type: |
256 | status: {code: 200, message: OK} | 535 | - application/json; charset=utf-8 |
536 | ETag: | ||
537 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
538 | Referrer-Policy: | ||
539 | - strict-origin-when-cross-origin | ||
540 | Transfer-Encoding: | ||
541 | - chunked | ||
542 | Vary: | ||
543 | - Accept, Origin | ||
544 | X-Content-Type-Options: | ||
545 | - nosniff | ||
546 | X-Download-Options: | ||
547 | - noopen | ||
548 | X-Frame-Options: | ||
549 | - SAMEORIGIN | ||
550 | X-Permitted-Cross-Domain-Policies: | ||
551 | - none | ||
552 | X-Request-Id: | ||
553 | - 54295ea3-2e3e-47c0-bc8d-5c0d0b3a1afe | ||
554 | X-Runtime: | ||
555 | - '0.012219' | ||
556 | X-XSS-Protection: | ||
557 | - 1; mode=block | ||
558 | status: | ||
559 | code: 200 | ||
560 | message: OK | ||
257 | - request: | 561 | - request: |
258 | body: null | 562 | body: null |
259 | headers: | 563 | headers: |
260 | Accept: ['*/*'] | 564 | Accept: |
261 | Accept-Encoding: ['gzip, deflate'] | 565 | - '*/*' |
262 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 566 | Accept-Encoding: |
263 | Connection: [keep-alive] | 567 | - gzip, deflate |
264 | User-Agent: [python-requests/2.18.4] | 568 | Authorization: |
569 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
570 | Connection: | ||
571 | - keep-alive | ||
572 | User-Agent: | ||
573 | - tests/v311 | ||
265 | method: GET | 574 | method: GET |
266 | uri: http://localhost:3000/api/v1/lists/3/accounts | 575 | uri: http://localhost:3000/api/v1/lists/3/accounts |
267 | response: | 576 | response: |
268 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'} | 577 | body: |
578 | 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}]' | ||
269 | headers: | 579 | headers: |
270 | Cache-Control: ['no-cache, no-store'] | 580 | Cache-Control: |
271 | Content-Type: [application/json; charset=utf-8] | 581 | - no-store |
272 | Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"'] | 582 | Content-Security-Policy: |
273 | Referrer-Policy: [strict-origin-when-cross-origin] | 583 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
274 | Transfer-Encoding: [chunked] | 584 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
275 | Vary: ['Accept-Encoding, Origin'] | 585 | style-src ''self'' http://localhost:3000 ''nonce-FBHZUlKa9XBpR/xhvdvGBg==''; |
276 | X-Content-Type-Options: [nosniff] | 586 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
277 | X-Download-Options: [noopen] | 587 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
278 | X-Frame-Options: [SAMEORIGIN] | 588 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
279 | X-Permitted-Cross-Domain-Policies: [none] | 589 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
280 | X-Request-Id: [64e7e959-a00f-440c-9345-be8f45f12fe7] | 590 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
281 | X-Runtime: ['0.035964'] | 591 | worker-src ''self'' blob: http://localhost:3000' |
282 | X-XSS-Protection: [1; mode=block] | 592 | Content-Type: |
283 | content-length: ['589'] | 593 | - application/json; charset=utf-8 |
284 | status: {code: 200, message: OK} | 594 | ETag: |
595 | - W/"556f11080e4d8472f8e5c4076996220f" | ||
596 | Link: | ||
597 | - <http://localhost:3000/api/v1/lists/3/accounts?since_id=109304268902557892>; | ||
598 | rel="prev" | ||
599 | Referrer-Policy: | ||
600 | - strict-origin-when-cross-origin | ||
601 | Transfer-Encoding: | ||
602 | - chunked | ||
603 | Vary: | ||
604 | - Accept, Origin | ||
605 | X-Content-Type-Options: | ||
606 | - nosniff | ||
607 | X-Download-Options: | ||
608 | - noopen | ||
609 | X-Frame-Options: | ||
610 | - SAMEORIGIN | ||
611 | X-Permitted-Cross-Domain-Policies: | ||
612 | - none | ||
613 | X-Request-Id: | ||
614 | - 29aa86f3-cfd8-4661-b246-94729b6d6f3e | ||
615 | X-Runtime: | ||
616 | - '0.011095' | ||
617 | X-XSS-Protection: | ||
618 | - 1; mode=block | ||
619 | status: | ||
620 | code: 200 | ||
621 | message: OK | ||
285 | - request: | 622 | - request: |
286 | body: account_ids%5B%5D=1 | 623 | body: account_ids%5B%5D=109304268902557892 |
287 | headers: | 624 | headers: |
288 | Accept: ['*/*'] | 625 | Accept: |
289 | Accept-Encoding: ['gzip, deflate'] | 626 | - '*/*' |
290 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 627 | Accept-Encoding: |
291 | Connection: [keep-alive] | 628 | - gzip, deflate |
292 | Content-Length: ['19'] | 629 | Authorization: |
293 | Content-Type: [application/x-www-form-urlencoded] | 630 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
294 | User-Agent: [python-requests/2.18.4] | 631 | Connection: |
632 | - keep-alive | ||
633 | Content-Length: | ||
634 | - '36' | ||
635 | Content-Type: | ||
636 | - application/x-www-form-urlencoded | ||
637 | User-Agent: | ||
638 | - tests/v311 | ||
295 | method: DELETE | 639 | method: DELETE |
296 | uri: http://localhost:3000/api/v1/lists/3/accounts | 640 | uri: http://localhost:3000/api/v1/lists/3/accounts |
297 | response: | 641 | response: |
298 | body: {string: '{}'} | 642 | body: |
643 | string: '{}' | ||
299 | headers: | 644 | headers: |
300 | Cache-Control: ['no-cache, no-store'] | 645 | Cache-Control: |
301 | Content-Type: [application/json; charset=utf-8] | 646 | - no-store |
302 | Referrer-Policy: [strict-origin-when-cross-origin] | 647 | Content-Security-Policy: |
303 | Transfer-Encoding: [chunked] | 648 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
304 | Vary: ['Accept-Encoding, Origin'] | 649 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
305 | X-Content-Type-Options: [nosniff] | 650 | style-src ''self'' http://localhost:3000 ''nonce-1Lr/qsLRvkqONVxw5ac1Eg==''; |
306 | X-Download-Options: [noopen] | 651 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
307 | X-Frame-Options: [SAMEORIGIN] | 652 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
308 | X-Permitted-Cross-Domain-Policies: [none] | 653 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
309 | X-Request-Id: [661c5fed-ad7e-4952-a2b8-a78d2ccc3daa] | 654 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
310 | X-Runtime: ['0.043183'] | 655 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
311 | X-XSS-Protection: [1; mode=block] | 656 | worker-src ''self'' blob: http://localhost:3000' |
312 | content-length: ['2'] | 657 | Content-Type: |
313 | status: {code: 200, message: OK} | 658 | - application/json; charset=utf-8 |
659 | ETag: | ||
660 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
661 | Referrer-Policy: | ||
662 | - strict-origin-when-cross-origin | ||
663 | Transfer-Encoding: | ||
664 | - chunked | ||
665 | Vary: | ||
666 | - Accept, Origin | ||
667 | X-Content-Type-Options: | ||
668 | - nosniff | ||
669 | X-Download-Options: | ||
670 | - noopen | ||
671 | X-Frame-Options: | ||
672 | - SAMEORIGIN | ||
673 | X-Permitted-Cross-Domain-Policies: | ||
674 | - none | ||
675 | X-Request-Id: | ||
676 | - b96dba90-46f2-4993-a4a8-8715945c332c | ||
677 | X-Runtime: | ||
678 | - '0.010719' | ||
679 | X-XSS-Protection: | ||
680 | - 1; mode=block | ||
681 | status: | ||
682 | code: 200 | ||
683 | message: OK | ||
314 | - request: | 684 | - request: |
315 | body: null | 685 | body: null |
316 | headers: | 686 | headers: |
317 | Accept: ['*/*'] | 687 | Accept: |
318 | Accept-Encoding: ['gzip, deflate'] | 688 | - '*/*' |
319 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 689 | Accept-Encoding: |
320 | Connection: [keep-alive] | 690 | - gzip, deflate |
321 | User-Agent: [python-requests/2.18.4] | 691 | Authorization: |
692 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
693 | Connection: | ||
694 | - keep-alive | ||
695 | User-Agent: | ||
696 | - tests/v311 | ||
322 | method: GET | 697 | method: GET |
323 | uri: http://localhost:3000/api/v1/lists/3/accounts | 698 | uri: http://localhost:3000/api/v1/lists/3/accounts |
324 | response: | 699 | response: |
325 | body: {string: '[]'} | 700 | body: |
701 | string: '[]' | ||
326 | headers: | 702 | headers: |
327 | Cache-Control: ['no-cache, no-store'] | 703 | Cache-Control: |
328 | Content-Type: [application/json; charset=utf-8] | 704 | - no-store |
329 | Referrer-Policy: [strict-origin-when-cross-origin] | 705 | Content-Security-Policy: |
330 | Transfer-Encoding: [chunked] | 706 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
331 | Vary: ['Accept-Encoding, Origin'] | 707 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
332 | X-Content-Type-Options: [nosniff] | 708 | style-src ''self'' http://localhost:3000 ''nonce-+xh+nwzVEHWEjCnw6XdZAA==''; |
333 | X-Download-Options: [noopen] | 709 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
334 | X-Frame-Options: [SAMEORIGIN] | 710 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
335 | X-Permitted-Cross-Domain-Policies: [none] | 711 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
336 | X-Request-Id: [e61d56d9-1db2-4b0c-a566-0f3eb994d6f2] | 712 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
337 | X-Runtime: ['0.031484'] | 713 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
338 | X-XSS-Protection: [1; mode=block] | 714 | worker-src ''self'' blob: http://localhost:3000' |
339 | content-length: ['2'] | 715 | Content-Type: |
340 | status: {code: 200, message: OK} | 716 | - application/json; charset=utf-8 |
717 | ETag: | ||
718 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
719 | Referrer-Policy: | ||
720 | - strict-origin-when-cross-origin | ||
721 | Transfer-Encoding: | ||
722 | - chunked | ||
723 | Vary: | ||
724 | - Accept, Origin | ||
725 | X-Content-Type-Options: | ||
726 | - nosniff | ||
727 | X-Download-Options: | ||
728 | - noopen | ||
729 | X-Frame-Options: | ||
730 | - SAMEORIGIN | ||
731 | X-Permitted-Cross-Domain-Policies: | ||
732 | - none | ||
733 | X-Request-Id: | ||
734 | - b1ad28fc-e032-4ae0-b625-95dfd021f3ba | ||
735 | X-Runtime: | ||
736 | - '0.008396' | ||
737 | X-XSS-Protection: | ||
738 | - 1; mode=block | ||
739 | status: | ||
740 | code: 200 | ||
741 | message: OK | ||
341 | - request: | 742 | - request: |
342 | body: null | 743 | body: null |
343 | headers: | 744 | headers: |
344 | Accept: ['*/*'] | 745 | Accept: |
345 | Accept-Encoding: ['gzip, deflate'] | 746 | - '*/*' |
346 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 747 | Accept-Encoding: |
347 | Connection: [keep-alive] | 748 | - gzip, deflate |
348 | Content-Length: ['0'] | 749 | Authorization: |
349 | User-Agent: [python-requests/2.18.4] | 750 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
751 | Connection: | ||
752 | - keep-alive | ||
753 | Content-Length: | ||
754 | - '0' | ||
755 | User-Agent: | ||
756 | - tests/v311 | ||
350 | method: POST | 757 | method: POST |
351 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 758 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/unfollow |
352 | response: | 759 | response: |
353 | 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}'} | 760 | body: |
761 | 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":""}' | ||
354 | headers: | 762 | headers: |
355 | Cache-Control: ['no-cache, no-store'] | 763 | Cache-Control: |
356 | Content-Type: [application/json; charset=utf-8] | 764 | - no-store |
357 | Referrer-Policy: [strict-origin-when-cross-origin] | 765 | Content-Security-Policy: |
358 | Transfer-Encoding: [chunked] | 766 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
359 | Vary: ['Accept-Encoding, Origin'] | 767 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
360 | X-Content-Type-Options: [nosniff] | 768 | style-src ''self'' http://localhost:3000 ''nonce-9IinauG4dYeGISY0Di6DKQ==''; |
361 | X-Download-Options: [noopen] | 769 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
362 | X-Frame-Options: [SAMEORIGIN] | 770 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
363 | X-Permitted-Cross-Domain-Policies: [none] | 771 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
364 | X-Request-Id: [d1be2bba-6c05-463e-a92b-c1867a50b5bf] | 772 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
365 | X-Runtime: ['0.072562'] | 773 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
366 | X-XSS-Protection: [1; mode=block] | 774 | worker-src ''self'' blob: http://localhost:3000' |
367 | content-length: ['211'] | 775 | Content-Type: |
368 | status: {code: 200, message: OK} | 776 | - application/json; charset=utf-8 |
777 | ETag: | ||
778 | - W/"8d8caa68e50963507d45a12d820e86b0" | ||
779 | Referrer-Policy: | ||
780 | - strict-origin-when-cross-origin | ||
781 | Transfer-Encoding: | ||
782 | - chunked | ||
783 | Vary: | ||
784 | - Accept, Origin | ||
785 | X-Content-Type-Options: | ||
786 | - nosniff | ||
787 | X-Download-Options: | ||
788 | - noopen | ||
789 | X-Frame-Options: | ||
790 | - SAMEORIGIN | ||
791 | X-Permitted-Cross-Domain-Policies: | ||
792 | - none | ||
793 | X-Request-Id: | ||
794 | - da8e35b9-2e46-4d44-bac6-22d55e5ae280 | ||
795 | X-Runtime: | ||
796 | - '0.017176' | ||
797 | X-XSS-Protection: | ||
798 | - 1; mode=block | ||
799 | status: | ||
800 | code: 200 | ||
801 | message: OK | ||
369 | - request: | 802 | - request: |
370 | body: null | 803 | body: null |
371 | headers: | 804 | headers: |
372 | Accept: ['*/*'] | 805 | Accept: |
373 | Accept-Encoding: ['gzip, deflate'] | 806 | - '*/*' |
374 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 807 | Accept-Encoding: |
375 | Connection: [keep-alive] | 808 | - gzip, deflate |
376 | Content-Length: ['0'] | 809 | Authorization: |
377 | User-Agent: [python-requests/2.18.4] | 810 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
811 | Connection: | ||
812 | - keep-alive | ||
813 | Content-Length: | ||
814 | - '0' | ||
815 | User-Agent: | ||
816 | - tests/v311 | ||
378 | method: DELETE | 817 | method: DELETE |
379 | uri: http://localhost:3000/api/v1/lists/3 | 818 | uri: http://localhost:3000/api/v1/lists/3 |
380 | response: | 819 | response: |
381 | body: {string: '{}'} | 820 | body: |
821 | string: '{}' | ||
382 | headers: | 822 | headers: |
383 | Cache-Control: ['no-cache, no-store'] | 823 | Cache-Control: |
384 | Content-Type: [application/json; charset=utf-8] | 824 | - no-store |
385 | Referrer-Policy: [strict-origin-when-cross-origin] | 825 | Content-Security-Policy: |
386 | Transfer-Encoding: [chunked] | 826 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
387 | Vary: ['Accept-Encoding, Origin'] | 827 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
388 | X-Content-Type-Options: [nosniff] | 828 | style-src ''self'' http://localhost:3000 ''nonce-0lsN90c6xI5olpJNb0ssWg==''; |
389 | X-Download-Options: [noopen] | 829 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
390 | X-Frame-Options: [SAMEORIGIN] | 830 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
391 | X-Permitted-Cross-Domain-Policies: [none] | 831 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
392 | X-Request-Id: [4d33e7eb-8d57-465c-973a-82967971763f] | 832 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
393 | X-Runtime: ['0.038794'] | 833 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
394 | X-XSS-Protection: [1; mode=block] | 834 | worker-src ''self'' blob: http://localhost:3000' |
395 | content-length: ['2'] | 835 | Content-Type: |
396 | status: {code: 200, message: OK} | 836 | - application/json; charset=utf-8 |
837 | ETag: | ||
838 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
839 | Referrer-Policy: | ||
840 | - strict-origin-when-cross-origin | ||
841 | Transfer-Encoding: | ||
842 | - chunked | ||
843 | Vary: | ||
844 | - Accept, Origin | ||
845 | X-Content-Type-Options: | ||
846 | - nosniff | ||
847 | X-Download-Options: | ||
848 | - noopen | ||
849 | X-Frame-Options: | ||
850 | - SAMEORIGIN | ||
851 | X-Permitted-Cross-Domain-Policies: | ||
852 | - none | ||
853 | X-Request-Id: | ||
854 | - f99ea496-5ea2-4cb3-90ae-073da7e3e9cf | ||
855 | X-Runtime: | ||
856 | - '0.015563' | ||
857 | X-XSS-Protection: | ||
858 | - 1; mode=block | ||
859 | status: | ||
860 | code: 200 | ||
861 | message: OK | ||
397 | version: 1 | 862 | version: 1 |