diff options
Diffstat (limited to 'tests/cassettes/test_filter_serverside.yaml')
-rw-r--r-- | tests/cassettes/test_filter_serverside.yaml | 501 |
1 files changed, 0 insertions, 501 deletions
diff --git a/tests/cassettes/test_filter_serverside.yaml b/tests/cassettes/test_filter_serverside.yaml deleted file mode 100644 index 5c8c74c..0000000 --- a/tests/cassettes/test_filter_serverside.yaml +++ /dev/null | |||
@@ -1,501 +0,0 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
8 | Connection: [keep-alive] | ||
9 | User-Agent: [python-requests/2.18.4] | ||
10 | method: GET | ||
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
12 | 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":0,"last_status_at":null,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | ||
14 | headers: | ||
15 | Cache-Control: ['no-cache, no-store'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Download-Options: [noopen] | ||
22 | X-Frame-Options: [SAMEORIGIN] | ||
23 | X-Permitted-Cross-Domain-Policies: [none] | ||
24 | X-Request-Id: [774d07f4-87b9-467b-a75d-4f89b0cc227f] | ||
25 | X-Runtime: ['0.037423'] | ||
26 | X-XSS-Protection: [1; mode=block] | ||
27 | content-length: ['691'] | ||
28 | status: {code: 200, message: OK} | ||
29 | - request: | ||
30 | body: reblogs=1&id=1 | ||
31 | headers: | ||
32 | Accept: ['*/*'] | ||
33 | Accept-Encoding: ['gzip, deflate'] | ||
34 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
35 | Connection: [keep-alive] | ||
36 | Content-Length: ['14'] | ||
37 | Content-Type: [application/x-www-form-urlencoded] | ||
38 | User-Agent: [python-requests/2.18.4] | ||
39 | method: POST | ||
40 | uri: http://localhost:3000/api/v1/accounts/1/follow | ||
41 | response: | ||
42 | 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}'} | ||
43 | headers: | ||
44 | Cache-Control: ['no-cache, no-store'] | ||
45 | Content-Type: [application/json; charset=utf-8] | ||
46 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
47 | Transfer-Encoding: [chunked] | ||
48 | Vary: ['Accept-Encoding, Origin'] | ||
49 | X-Content-Type-Options: [nosniff] | ||
50 | X-Download-Options: [noopen] | ||
51 | X-Frame-Options: [SAMEORIGIN] | ||
52 | X-Permitted-Cross-Domain-Policies: [none] | ||
53 | X-Request-Id: [0cdf48e3-1a5a-4511-a5ec-41e529302ec9] | ||
54 | X-Runtime: ['0.136770'] | ||
55 | X-XSS-Protection: [1; mode=block] | ||
56 | content-length: ['209'] | ||
57 | status: {code: 200, message: OK} | ||
58 | - request: | ||
59 | body: whole_word=0&irreversible=1&phrase=anime&context%5B%5D=home | ||
60 | headers: | ||
61 | Accept: ['*/*'] | ||
62 | Accept-Encoding: ['gzip, deflate'] | ||
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
64 | Connection: [keep-alive] | ||
65 | Content-Length: ['59'] | ||
66 | Content-Type: [application/x-www-form-urlencoded] | ||
67 | User-Agent: [python-requests/2.18.4] | ||
68 | method: POST | ||
69 | uri: http://localhost:3000/api/v1/filters | ||
70 | response: | ||
71 | body: {string: '{"id":"4","phrase":"anime","context":["home"],"whole_word":false,"expires_at":null,"irreversible":true}'} | ||
72 | headers: | ||
73 | Cache-Control: ['no-cache, no-store'] | ||
74 | Content-Type: [application/json; charset=utf-8] | ||
75 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
76 | Transfer-Encoding: [chunked] | ||
77 | Vary: ['Accept-Encoding, Origin'] | ||
78 | X-Content-Type-Options: [nosniff] | ||
79 | X-Download-Options: [noopen] | ||
80 | X-Frame-Options: [SAMEORIGIN] | ||
81 | X-Permitted-Cross-Domain-Policies: [none] | ||
82 | X-Request-Id: [417622d3-5fe2-4708-89ad-c472bf0ea827] | ||
83 | X-Runtime: ['0.100807'] | ||
84 | X-XSS-Protection: [1; mode=block] | ||
85 | content-length: ['103'] | ||
86 | status: {code: 200, message: OK} | ||
87 | - request: | ||
88 | body: whole_word=1&irreversible=1&phrase=girugamesh&context%5B%5D=home | ||
89 | headers: | ||
90 | Accept: ['*/*'] | ||
91 | Accept-Encoding: ['gzip, deflate'] | ||
92 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
93 | Connection: [keep-alive] | ||
94 | Content-Length: ['64'] | ||
95 | Content-Type: [application/x-www-form-urlencoded] | ||
96 | User-Agent: [python-requests/2.18.4] | ||
97 | method: POST | ||
98 | uri: http://localhost:3000/api/v1/filters | ||
99 | response: | ||
100 | body: {string: '{"id":"5","phrase":"girugamesh","context":["home"],"whole_word":true,"expires_at":null,"irreversible":true}'} | ||
101 | headers: | ||
102 | Cache-Control: ['no-cache, no-store'] | ||
103 | Content-Type: [application/json; charset=utf-8] | ||
104 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
105 | Transfer-Encoding: [chunked] | ||
106 | Vary: ['Accept-Encoding, Origin'] | ||
107 | X-Content-Type-Options: [nosniff] | ||
108 | X-Download-Options: [noopen] | ||
109 | X-Frame-Options: [SAMEORIGIN] | ||
110 | X-Permitted-Cross-Domain-Policies: [none] | ||
111 | X-Request-Id: [39194e90-f708-4202-a9c4-462dffe3cc6a] | ||
112 | X-Runtime: ['0.033642'] | ||
113 | X-XSS-Protection: [1; mode=block] | ||
114 | content-length: ['107'] | ||
115 | status: {code: 200, message: OK} | ||
116 | - request: | ||
117 | body: whole_word=1&irreversible=1&phrase=japanimation&context%5B%5D=notifications | ||
118 | headers: | ||
119 | Accept: ['*/*'] | ||
120 | Accept-Encoding: ['gzip, deflate'] | ||
121 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
122 | Connection: [keep-alive] | ||
123 | Content-Length: ['75'] | ||
124 | Content-Type: [application/x-www-form-urlencoded] | ||
125 | User-Agent: [python-requests/2.18.4] | ||
126 | method: POST | ||
127 | uri: http://localhost:3000/api/v1/filters | ||
128 | response: | ||
129 | body: {string: '{"id":"6","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":true}'} | ||
130 | headers: | ||
131 | Cache-Control: ['no-cache, no-store'] | ||
132 | Content-Type: [application/json; charset=utf-8] | ||
133 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
134 | Transfer-Encoding: [chunked] | ||
135 | Vary: ['Accept-Encoding, Origin'] | ||
136 | X-Content-Type-Options: [nosniff] | ||
137 | X-Download-Options: [noopen] | ||
138 | X-Frame-Options: [SAMEORIGIN] | ||
139 | X-Permitted-Cross-Domain-Policies: [none] | ||
140 | X-Request-Id: [e4296e4f-fb51-4879-abf2-8cc59d8f056c] | ||
141 | X-Runtime: ['0.034336'] | ||
142 | X-XSS-Protection: [1; mode=block] | ||
143 | content-length: ['118'] | ||
144 | status: {code: 200, message: OK} | ||
145 | - request: | ||
146 | body: status=I+love+animes | ||
147 | headers: | ||
148 | Accept: ['*/*'] | ||
149 | Accept-Encoding: ['gzip, deflate'] | ||
150 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
151 | Connection: [keep-alive] | ||
152 | Content-Length: ['20'] | ||
153 | Content-Type: [application/x-www-form-urlencoded] | ||
154 | User-Agent: [python-requests/2.18.4] | ||
155 | method: POST | ||
156 | uri: http://localhost:3000/api/v1/statuses | ||
157 | response: | ||
158 | body: {string: '{"id":"103704146777256971","created_at":"2020-02-22T19:28:20.592Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146777256971","url":"http://localhost/@admin/103704146777256971","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eI | ||
159 | love animes\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
160 | test suite","website":null},"account":{"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":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
161 | headers: | ||
162 | Cache-Control: ['no-cache, no-store'] | ||
163 | Content-Type: [application/json; charset=utf-8] | ||
164 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
165 | Transfer-Encoding: [chunked] | ||
166 | Vary: ['Accept-Encoding, Origin'] | ||
167 | X-Content-Type-Options: [nosniff] | ||
168 | X-Download-Options: [noopen] | ||
169 | X-Frame-Options: [SAMEORIGIN] | ||
170 | X-Permitted-Cross-Domain-Policies: [none] | ||
171 | X-Request-Id: [10c4f99e-412e-422e-b6c7-4f480aaa5887] | ||
172 | X-Runtime: ['0.129142'] | ||
173 | X-XSS-Protection: [1; mode=block] | ||
174 | content-length: ['1262'] | ||
175 | status: {code: 200, message: OK} | ||
176 | - request: | ||
177 | body: status=Girugamesh%21 | ||
178 | headers: | ||
179 | Accept: ['*/*'] | ||
180 | Accept-Encoding: ['gzip, deflate'] | ||
181 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
182 | Connection: [keep-alive] | ||
183 | Content-Length: ['20'] | ||
184 | Content-Type: [application/x-www-form-urlencoded] | ||
185 | User-Agent: [python-requests/2.18.4] | ||
186 | method: POST | ||
187 | uri: http://localhost:3000/api/v1/statuses | ||
188 | response: | ||
189 | body: {string: '{"id":"103704146793129602","created_at":"2020-02-22T19:28:20.921Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146793129602","url":"http://localhost/@admin/103704146793129602","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eGirugamesh!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
190 | test suite","website":null},"account":{"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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
191 | headers: | ||
192 | Cache-Control: ['no-cache, no-store'] | ||
193 | Content-Type: [application/json; charset=utf-8] | ||
194 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
195 | Transfer-Encoding: [chunked] | ||
196 | Vary: ['Accept-Encoding, Origin'] | ||
197 | X-Content-Type-Options: [nosniff] | ||
198 | X-Download-Options: [noopen] | ||
199 | X-Frame-Options: [SAMEORIGIN] | ||
200 | X-Permitted-Cross-Domain-Policies: [none] | ||
201 | X-Request-Id: [21edf344-2c40-40f2-a0fb-a0e1508d2bf1] | ||
202 | X-Runtime: ['0.580524'] | ||
203 | X-XSS-Protection: [1; mode=block] | ||
204 | content-length: ['1260'] | ||
205 | status: {code: 200, message: OK} | ||
206 | - request: | ||
207 | body: status=Girugameshnetworking%21 | ||
208 | headers: | ||
209 | Accept: ['*/*'] | ||
210 | Accept-Encoding: ['gzip, deflate'] | ||
211 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
212 | Connection: [keep-alive] | ||
213 | Content-Length: ['30'] | ||
214 | Content-Type: [application/x-www-form-urlencoded] | ||
215 | User-Agent: [python-requests/2.18.4] | ||
216 | method: POST | ||
217 | uri: http://localhost:3000/api/v1/statuses | ||
218 | response: | ||
219 | body: {string: '{"id":"103704146834000160","created_at":"2020-02-22T19:28:21.465Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146834000160","url":"http://localhost/@admin/103704146834000160","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eGirugameshnetworking!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
220 | test suite","website":null},"account":{"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":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
221 | headers: | ||
222 | Cache-Control: ['no-cache, no-store'] | ||
223 | Content-Type: [application/json; charset=utf-8] | ||
224 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
225 | Transfer-Encoding: [chunked] | ||
226 | Vary: ['Accept-Encoding, Origin'] | ||
227 | X-Content-Type-Options: [nosniff] | ||
228 | X-Download-Options: [noopen] | ||
229 | X-Frame-Options: [SAMEORIGIN] | ||
230 | X-Permitted-Cross-Domain-Policies: [none] | ||
231 | X-Request-Id: [9c2b7255-af70-4723-96cd-bc6e05c83133] | ||
232 | X-Runtime: ['0.313404'] | ||
233 | X-XSS-Protection: [1; mode=block] | ||
234 | content-length: ['1270'] | ||
235 | status: {code: 200, message: OK} | ||
236 | - request: | ||
237 | body: status=I+love+japanimation%21 | ||
238 | headers: | ||
239 | Accept: ['*/*'] | ||
240 | Accept-Encoding: ['gzip, deflate'] | ||
241 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
242 | Connection: [keep-alive] | ||
243 | Content-Length: ['29'] | ||
244 | Content-Type: [application/x-www-form-urlencoded] | ||
245 | User-Agent: [python-requests/2.18.4] | ||
246 | method: POST | ||
247 | uri: http://localhost:3000/api/v1/statuses | ||
248 | response: | ||
249 | body: {string: '{"id":"103704146849408495","created_at":"2020-02-22T19:28:21.699Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146849408495","url":"http://localhost/@admin/103704146849408495","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eI | ||
250 | love japanimation!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
251 | test suite","website":null},"account":{"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":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
252 | headers: | ||
253 | Cache-Control: ['no-cache, no-store'] | ||
254 | Content-Type: [application/json; charset=utf-8] | ||
255 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
256 | Transfer-Encoding: [chunked] | ||
257 | Vary: ['Accept-Encoding, Origin'] | ||
258 | X-Content-Type-Options: [nosniff] | ||
259 | X-Download-Options: [noopen] | ||
260 | X-Frame-Options: [SAMEORIGIN] | ||
261 | X-Permitted-Cross-Domain-Policies: [none] | ||
262 | X-Request-Id: [3c151d53-63dd-4912-8800-7cb0f7641f69] | ||
263 | X-Runtime: ['0.222952'] | ||
264 | X-XSS-Protection: [1; mode=block] | ||
265 | content-length: ['1269'] | ||
266 | status: {code: 200, message: OK} | ||
267 | - request: | ||
268 | body: null | ||
269 | headers: | ||
270 | Accept: ['*/*'] | ||
271 | Accept-Encoding: ['gzip, deflate'] | ||
272 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
273 | Connection: [keep-alive] | ||
274 | User-Agent: [python-requests/2.18.4] | ||
275 | method: GET | ||
276 | uri: http://localhost:3000/api/v1/timelines/home | ||
277 | response: | ||
278 | body: {string: '[{"id":"103704146849408495","created_at":"2020-02-22T19:28:21.699Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146849408495","url":"http://localhost/@admin/103704146849408495","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eI | ||
279 | love japanimation!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
280 | test suite","website":null},"account":{"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":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"103704146834000160","created_at":"2020-02-22T19:28:21.465Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146834000160","url":"http://localhost/@admin/103704146834000160","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eGirugameshnetworking!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
281 | test suite","website":null},"account":{"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":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} | ||
282 | headers: | ||
283 | Cache-Control: ['no-cache, no-store'] | ||
284 | Content-Type: [application/json; charset=utf-8] | ||
285 | Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=103704146834000160>; | ||
286 | rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=103704146849408495>; | ||
287 | rel="prev"'] | ||
288 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
289 | Transfer-Encoding: [chunked] | ||
290 | Vary: ['Accept-Encoding, Origin'] | ||
291 | X-Content-Type-Options: [nosniff] | ||
292 | X-Download-Options: [noopen] | ||
293 | X-Frame-Options: [SAMEORIGIN] | ||
294 | X-Permitted-Cross-Domain-Policies: [none] | ||
295 | X-Request-Id: [716e446c-60c4-4d90-aa2e-3cbb55642b11] | ||
296 | X-Runtime: ['0.154515'] | ||
297 | X-XSS-Protection: [1; mode=block] | ||
298 | content-length: ['2512'] | ||
299 | status: {code: 200, message: OK} | ||
300 | - request: | ||
301 | body: null | ||
302 | headers: | ||
303 | Accept: ['*/*'] | ||
304 | Accept-Encoding: ['gzip, deflate'] | ||
305 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
306 | Connection: [keep-alive] | ||
307 | Content-Length: ['0'] | ||
308 | User-Agent: [python-requests/2.18.4] | ||
309 | method: DELETE | ||
310 | uri: http://localhost:3000/api/v1/filters/4 | ||
311 | response: | ||
312 | body: {string: '{}'} | ||
313 | headers: | ||
314 | Cache-Control: ['no-cache, no-store'] | ||
315 | Content-Type: [application/json; charset=utf-8] | ||
316 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
317 | Transfer-Encoding: [chunked] | ||
318 | Vary: ['Accept-Encoding, Origin'] | ||
319 | X-Content-Type-Options: [nosniff] | ||
320 | X-Download-Options: [noopen] | ||
321 | X-Frame-Options: [SAMEORIGIN] | ||
322 | X-Permitted-Cross-Domain-Policies: [none] | ||
323 | X-Request-Id: [c4163ea7-80de-424f-9317-3c32cb710aab] | ||
324 | X-Runtime: ['0.039944'] | ||
325 | X-XSS-Protection: [1; mode=block] | ||
326 | content-length: ['2'] | ||
327 | status: {code: 200, message: OK} | ||
328 | - request: | ||
329 | body: null | ||
330 | headers: | ||
331 | Accept: ['*/*'] | ||
332 | Accept-Encoding: ['gzip, deflate'] | ||
333 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
334 | Connection: [keep-alive] | ||
335 | Content-Length: ['0'] | ||
336 | User-Agent: [python-requests/2.18.4] | ||
337 | method: DELETE | ||
338 | uri: http://localhost:3000/api/v1/filters/5 | ||
339 | response: | ||
340 | body: {string: '{}'} | ||
341 | headers: | ||
342 | Cache-Control: ['no-cache, no-store'] | ||
343 | Content-Type: [application/json; charset=utf-8] | ||
344 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
345 | Transfer-Encoding: [chunked] | ||
346 | Vary: ['Accept-Encoding, Origin'] | ||
347 | X-Content-Type-Options: [nosniff] | ||
348 | X-Download-Options: [noopen] | ||
349 | X-Frame-Options: [SAMEORIGIN] | ||
350 | X-Permitted-Cross-Domain-Policies: [none] | ||
351 | X-Request-Id: [d166a6d4-d794-4452-98d6-28bc4e161a7c] | ||
352 | X-Runtime: ['0.042435'] | ||
353 | X-XSS-Protection: [1; mode=block] | ||
354 | content-length: ['2'] | ||
355 | status: {code: 200, message: OK} | ||
356 | - request: | ||
357 | body: null | ||
358 | headers: | ||
359 | Accept: ['*/*'] | ||
360 | Accept-Encoding: ['gzip, deflate'] | ||
361 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
362 | Connection: [keep-alive] | ||
363 | Content-Length: ['0'] | ||
364 | User-Agent: [python-requests/2.18.4] | ||
365 | method: DELETE | ||
366 | uri: http://localhost:3000/api/v1/filters/6 | ||
367 | response: | ||
368 | body: {string: '{}'} | ||
369 | headers: | ||
370 | Cache-Control: ['no-cache, no-store'] | ||
371 | Content-Type: [application/json; charset=utf-8] | ||
372 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
373 | Transfer-Encoding: [chunked] | ||
374 | Vary: ['Accept-Encoding, Origin'] | ||
375 | X-Content-Type-Options: [nosniff] | ||
376 | X-Download-Options: [noopen] | ||
377 | X-Frame-Options: [SAMEORIGIN] | ||
378 | X-Permitted-Cross-Domain-Policies: [none] | ||
379 | X-Request-Id: [fcceb96d-b2b1-4e40-9046-1e30954151d5] | ||
380 | X-Runtime: ['0.032520'] | ||
381 | X-XSS-Protection: [1; mode=block] | ||
382 | content-length: ['2'] | ||
383 | status: {code: 200, message: OK} | ||
384 | - request: | ||
385 | body: null | ||
386 | headers: | ||
387 | Accept: ['*/*'] | ||
388 | Accept-Encoding: ['gzip, deflate'] | ||
389 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
390 | Connection: [keep-alive] | ||
391 | Content-Length: ['0'] | ||
392 | User-Agent: [python-requests/2.18.4] | ||
393 | method: DELETE | ||
394 | uri: http://localhost:3000/api/v1/statuses/103704146777256971 | ||
395 | response: | ||
396 | body: {string: '{"id":"103704146777256971","created_at":"2020-02-22T19:28:20.592Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146777256971","url":"http://localhost/@admin/103704146777256971","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"I | ||
397 | love animes","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"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":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
398 | headers: | ||
399 | Cache-Control: ['no-cache, no-store'] | ||
400 | Content-Type: [application/json; charset=utf-8] | ||
401 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
402 | Transfer-Encoding: [chunked] | ||
403 | Vary: ['Accept-Encoding, Origin'] | ||
404 | X-Content-Type-Options: [nosniff] | ||
405 | X-Download-Options: [noopen] | ||
406 | X-Frame-Options: [SAMEORIGIN] | ||
407 | X-Permitted-Cross-Domain-Policies: [none] | ||
408 | X-Request-Id: [b4e79c9c-1d5c-46ba-b733-b614bb6f3b47] | ||
409 | X-Runtime: ['0.160443'] | ||
410 | X-XSS-Protection: [1; mode=block] | ||
411 | content-length: ['1232'] | ||
412 | status: {code: 200, message: OK} | ||
413 | - request: | ||
414 | body: null | ||
415 | headers: | ||
416 | Accept: ['*/*'] | ||
417 | Accept-Encoding: ['gzip, deflate'] | ||
418 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
419 | Connection: [keep-alive] | ||
420 | Content-Length: ['0'] | ||
421 | User-Agent: [python-requests/2.18.4] | ||
422 | method: DELETE | ||
423 | uri: http://localhost:3000/api/v1/statuses/103704146793129602 | ||
424 | response: | ||
425 | body: {string: '{"id":"103704146793129602","created_at":"2020-02-22T19:28:20.921Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146793129602","url":"http://localhost/@admin/103704146793129602","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Girugamesh!","reblog":null,"application":{"name":"Mastodon.py | ||
426 | test suite","website":null},"account":{"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":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
427 | headers: | ||
428 | Cache-Control: ['no-cache, no-store'] | ||
429 | Content-Type: [application/json; charset=utf-8] | ||
430 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
431 | Transfer-Encoding: [chunked] | ||
432 | Vary: ['Accept-Encoding, Origin'] | ||
433 | X-Content-Type-Options: [nosniff] | ||
434 | X-Download-Options: [noopen] | ||
435 | X-Frame-Options: [SAMEORIGIN] | ||
436 | X-Permitted-Cross-Domain-Policies: [none] | ||
437 | X-Request-Id: [df004843-006d-487d-afe9-b4c7f33e9197] | ||
438 | X-Runtime: ['0.123161'] | ||
439 | X-XSS-Protection: [1; mode=block] | ||
440 | content-length: ['1230'] | ||
441 | status: {code: 200, message: OK} | ||
442 | - request: | ||
443 | body: null | ||
444 | headers: | ||
445 | Accept: ['*/*'] | ||
446 | Accept-Encoding: ['gzip, deflate'] | ||
447 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
448 | Connection: [keep-alive] | ||
449 | Content-Length: ['0'] | ||
450 | User-Agent: [python-requests/2.18.4] | ||
451 | method: DELETE | ||
452 | uri: http://localhost:3000/api/v1/statuses/103704146834000160 | ||
453 | response: | ||
454 | body: {string: '{"id":"103704146834000160","created_at":"2020-02-22T19:28:21.465Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146834000160","url":"http://localhost/@admin/103704146834000160","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Girugameshnetworking!","reblog":null,"application":{"name":"Mastodon.py | ||
455 | test suite","website":null},"account":{"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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
456 | headers: | ||
457 | Cache-Control: ['no-cache, no-store'] | ||
458 | Content-Type: [application/json; charset=utf-8] | ||
459 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
460 | Transfer-Encoding: [chunked] | ||
461 | Vary: ['Accept-Encoding, Origin'] | ||
462 | X-Content-Type-Options: [nosniff] | ||
463 | X-Download-Options: [noopen] | ||
464 | X-Frame-Options: [SAMEORIGIN] | ||
465 | X-Permitted-Cross-Domain-Policies: [none] | ||
466 | X-Request-Id: [75941aaf-ca51-4f9a-8e1e-9ea9e0982f79] | ||
467 | X-Runtime: ['0.128672'] | ||
468 | X-XSS-Protection: [1; mode=block] | ||
469 | content-length: ['1240'] | ||
470 | status: {code: 200, message: OK} | ||
471 | - request: | ||
472 | body: null | ||
473 | headers: | ||
474 | Accept: ['*/*'] | ||
475 | Accept-Encoding: ['gzip, deflate'] | ||
476 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
477 | Connection: [keep-alive] | ||
478 | Content-Length: ['0'] | ||
479 | User-Agent: [python-requests/2.18.4] | ||
480 | method: DELETE | ||
481 | uri: http://localhost:3000/api/v1/statuses/103704146849408495 | ||
482 | response: | ||
483 | body: {string: '{"id":"103704146849408495","created_at":"2020-02-22T19:28:21.699Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704146849408495","url":"http://localhost/@admin/103704146849408495","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"I | ||
484 | love japanimation!","reblog":null,"application":{"name":"Mastodon.py test | ||
485 | suite","website":null},"account":{"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":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
486 | headers: | ||
487 | Cache-Control: ['no-cache, no-store'] | ||
488 | Content-Type: [application/json; charset=utf-8] | ||
489 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
490 | Transfer-Encoding: [chunked] | ||
491 | Vary: ['Accept-Encoding, Origin'] | ||
492 | X-Content-Type-Options: [nosniff] | ||
493 | X-Download-Options: [noopen] | ||
494 | X-Frame-Options: [SAMEORIGIN] | ||
495 | X-Permitted-Cross-Domain-Policies: [none] | ||
496 | X-Request-Id: [84cca537-3746-45d4-89ae-d1547d589015] | ||
497 | X-Runtime: ['0.125049'] | ||
498 | X-XSS-Protection: [1; mode=block] | ||
499 | content-length: ['1239'] | ||
500 | status: {code: 200, message: OK} | ||
501 | version: 1 | ||