diff options
Diffstat (limited to 'tests/cassettes/test_featured_tags.yaml')
-rw-r--r-- | tests/cassettes/test_featured_tags.yaml | 353 |
1 files changed, 258 insertions, 95 deletions
diff --git a/tests/cassettes/test_featured_tags.yaml b/tests/cassettes/test_featured_tags.yaml index 4588821..1a2e642 100644 --- a/tests/cassettes/test_featured_tags.yaml +++ b/tests/cassettes/test_featured_tags.yaml | |||
@@ -1,113 +1,276 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: name=mastopytesttag | 3 | body: status=cool+free+%23ringtones |
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: ['19'] | 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 | - '29' | ||
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/featured_tags | 20 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 21 | response: |
15 | body: {string: '{"id":"1","name":"mastopytesttag","statuses_count":0,"last_status_at":null}'} | 22 | body: |
23 | string: '{"id":"109304274610657135","created_at":"2022-11-07T19:54:29.915Z","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/109304274610657135","url":"http://localhost:3000/@mastodonpy_test/109304274610657135","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003ecool | ||
24 | free \u003ca href=\"http://localhost:3000/tags/ringtones\" class=\"mention | ||
25 | hashtag\" rel=\"tag\"\u003e#\u003cspan\u003eringtones\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
26 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
27 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
28 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[{"name":"ringtones","url":"http://localhost:3000/tags/ringtones"}],"emojis":[],"card":null,"poll":null}' | ||
16 | headers: | 29 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 30 | Cache-Control: |
18 | Content-Type: [application/json; charset=utf-8] | 31 | - no-store |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 32 | Content-Security-Policy: |
20 | Transfer-Encoding: [chunked] | 33 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
21 | Vary: ['Accept-Encoding, Origin'] | 34 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
22 | X-Content-Type-Options: [nosniff] | 35 | style-src ''self'' http://localhost:3000 ''nonce-IyWunBzArjObfeEE5UX8ig==''; |
23 | X-Download-Options: [noopen] | 36 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
24 | X-Frame-Options: [SAMEORIGIN] | 37 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
25 | X-Permitted-Cross-Domain-Policies: [none] | 38 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
26 | X-Request-Id: [96958f87-c535-4762-9ca4-8f4ec63f6097] | 39 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
27 | X-Runtime: ['0.153940'] | 40 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
28 | X-XSS-Protection: [1; mode=block] | 41 | worker-src ''self'' blob: http://localhost:3000' |
29 | content-length: ['75'] | 42 | Content-Type: |
30 | status: {code: 200, message: OK} | 43 | - application/json; charset=utf-8 |
44 | ETag: | ||
45 | - W/"10de32dfe2720e59b17044cba0f146a8" | ||
46 | Referrer-Policy: | ||
47 | - strict-origin-when-cross-origin | ||
48 | Transfer-Encoding: | ||
49 | - chunked | ||
50 | Vary: | ||
51 | - Accept, Origin | ||
52 | X-Content-Type-Options: | ||
53 | - nosniff | ||
54 | X-Download-Options: | ||
55 | - noopen | ||
56 | X-Frame-Options: | ||
57 | - SAMEORIGIN | ||
58 | X-Permitted-Cross-Domain-Policies: | ||
59 | - none | ||
60 | X-RateLimit-Limit: | ||
61 | - '300' | ||
62 | X-RateLimit-Remaining: | ||
63 | - '295' | ||
64 | X-RateLimit-Reset: | ||
65 | - '2022-11-07T21:00:00.940009Z' | ||
66 | X-Request-Id: | ||
67 | - e754fb62-d767-48e0-b88e-13b394800b32 | ||
68 | X-Runtime: | ||
69 | - '0.037297' | ||
70 | X-XSS-Protection: | ||
71 | - 1; mode=block | ||
72 | status: | ||
73 | code: 200 | ||
74 | message: OK | ||
31 | - request: | 75 | - request: |
32 | body: null | 76 | body: name=ringtones |
33 | headers: | 77 | headers: |
34 | Accept: ['*/*'] | 78 | Accept: |
35 | Accept-Encoding: ['gzip, deflate'] | 79 | - '*/*' |
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 80 | Accept-Encoding: |
37 | Connection: [keep-alive] | 81 | - gzip, deflate |
38 | User-Agent: [python-requests/2.18.4] | 82 | Authorization: |
39 | method: GET | 83 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
84 | Connection: | ||
85 | - keep-alive | ||
86 | Content-Length: | ||
87 | - '14' | ||
88 | Content-Type: | ||
89 | - application/x-www-form-urlencoded | ||
90 | User-Agent: | ||
91 | - tests/v311 | ||
92 | method: POST | ||
40 | uri: http://localhost:3000/api/v1/featured_tags | 93 | uri: http://localhost:3000/api/v1/featured_tags |
41 | response: | 94 | response: |
42 | body: {string: '[{"id":"1","name":"mastopytesttag","statuses_count":0,"last_status_at":null}]'} | 95 | body: |
96 | string: "OpenSSL::PKey::RSAError at /api/v1/featured_tags\n================================================\n\nNeither | ||
97 | PUB key nor PRIV key: no start line\n\n> To access an interactive console | ||
98 | with this error, point your browser to: /__better_errors\n\n\napp/models/account.rb, | ||
99 | line 271\n-------------------------------\n\n``` ruby\n 266 def previous_strikes_count\n | ||
100 | \ 267 strikes.where(overruled_at: nil).count\n 268 end\n 269 \n | ||
101 | \ 270 def keypair\n> 271 @keypair ||= OpenSSL::PKey::RSA.new(private_key | ||
102 | || public_key)\n 272 end\n 273 \n 274 def tags_as_strings=(tag_names)\n | ||
103 | \ 275 hashtags_map = Tag.find_or_create_by_names(tag_names).index_by(&:name)\n | ||
104 | \ 276 \n```\n\nApp backtrace\n-------------\n\n - app/models/account.rb:271:in | ||
105 | `keypair'\n - app/lib/activitypub/linked_data_signature.rb:45:in `sign!'\n | ||
106 | - app/services/concerns/payloadable.rb:19:in `serialize_payload'\n - app/services/create_featured_tag_service.rb:23:in | ||
107 | `build_json'\n - app/services/create_featured_tag_service.rb:10:in `block | ||
108 | in call'\n - app/services/create_featured_tag_service.rb:9:in `call'\n - app/controllers/api/v1/featured_tags_controller.rb:16:in | ||
109 | `create'\n - app/controllers/concerns/localized.rb:11:in `set_locale'\n - | ||
110 | lib/mastodon/rack_middleware.rb:9:in `call'\n\nFull backtrace\n--------------\n\n | ||
111 | - openssl (3.0.0) lib/openssl/pkey.rb:348:in `new'\n - app/models/account.rb:271:in | ||
112 | `keypair'\n - app/lib/activitypub/linked_data_signature.rb:45:in `sign!'\n | ||
113 | - app/services/concerns/payloadable.rb:19:in `serialize_payload'\n - app/services/create_featured_tag_service.rb:23:in | ||
114 | `build_json'\n - app/services/create_featured_tag_service.rb:10:in `block | ||
115 | in call'\n - <internal:kernel>:90:in `tap'\n - app/services/create_featured_tag_service.rb:9:in | ||
116 | `call'\n - app/controllers/api/v1/featured_tags_controller.rb:16:in `create'\n | ||
117 | - actionpack (6.1.7) lib/action_controller/metal/basic_implicit_render.rb:6:in | ||
118 | `send_action'\n - actionpack (6.1.7) lib/abstract_controller/base.rb:228:in | ||
119 | `process_action'\n - actionpack (6.1.7) lib/action_controller/metal/rendering.rb:30:in | ||
120 | `process_action'\n - actionpack (6.1.7) lib/abstract_controller/callbacks.rb:42:in | ||
121 | `block in process_action'\n - activesupport (6.1.7) lib/active_support/callbacks.rb:117:in | ||
122 | `block in run_callbacks'\n - i18n (1.12.0) lib/i18n.rb:322:in `with_locale'\n | ||
123 | - app/controllers/concerns/localized.rb:11:in `set_locale'\n - activesupport | ||
124 | (6.1.7) lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n | ||
125 | - activesupport (6.1.7) lib/active_support/callbacks.rb:137:in `run_callbacks'\n | ||
126 | - actionpack (6.1.7) lib/abstract_controller/callbacks.rb:41:in `process_action'\n | ||
127 | - actionpack (6.1.7) lib/action_controller/metal/rescue.rb:22:in `process_action'\n | ||
128 | - actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:34:in | ||
129 | `block in process_action'\n - activesupport (6.1.7) lib/active_support/notifications.rb:203:in | ||
130 | `block in instrument'\n - activesupport (6.1.7) lib/active_support/notifications/instrumenter.rb:24:in | ||
131 | `instrument'\n - activesupport (6.1.7) lib/active_support/notifications.rb:203:in | ||
132 | `instrument'\n - actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:33:in | ||
133 | `process_action'\n - actionpack (6.1.7) lib/action_controller/metal/params_wrapper.rb:249:in | ||
134 | `process_action'\n - activerecord (6.1.7) lib/active_record/railties/controller_runtime.rb:27:in | ||
135 | `process_action'\n - actionpack (6.1.7) lib/abstract_controller/base.rb:165:in | ||
136 | `process'\n - actionview (6.1.7) lib/action_view/rendering.rb:39:in `process'\n | ||
137 | - actionpack (6.1.7) lib/action_controller/metal.rb:190:in `dispatch'\n - | ||
138 | actionpack (6.1.7) lib/action_controller/metal.rb:254:in `dispatch'\n - actionpack | ||
139 | (6.1.7) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n - actionpack | ||
140 | (6.1.7) lib/action_dispatch/routing/route_set.rb:33:in `serve'\n - actionpack | ||
141 | (6.1.7) lib/action_dispatch/journey/router.rb:50:in `block in serve'\n - actionpack | ||
142 | (6.1.7) lib/action_dispatch/journey/router.rb:32:in `serve'\n - actionpack | ||
143 | (6.1.7) lib/action_dispatch/routing/route_set.rb:842:in `call'\n - omniauth | ||
144 | (1.9.2) lib/omniauth/builder.rb:45:in `call'\n - bullet (7.0.3) lib/bullet/rack.rb:15:in | ||
145 | `call'\n - rack-attack (6.6.1) lib/rack/attack.rb:103:in `call'\n - http_accept_language | ||
146 | (2.1.1) lib/http_accept_language/middleware.rb:14:in `call'\n - makara (0.5.1) | ||
147 | lib/makara/middleware.rb:16:in `call'\n - lib/mastodon/rack_middleware.rb:9:in | ||
148 | `call'\n - rack-attack (6.6.1) lib/rack/attack.rb:110:in `call'\n - warden | ||
149 | (1.2.9) lib/warden/manager.rb:36:in `block in call'\n - warden (1.2.9) lib/warden/manager.rb:34:in | ||
150 | `call'\n - rack (2.2.4) lib/rack/tempfile_reaper.rb:15:in `call'\n - rack | ||
151 | (2.2.4) lib/rack/etag.rb:27:in `call'\n - rack (2.2.4) lib/rack/conditional_get.rb:40:in | ||
152 | `call'\n - rack (2.2.4) lib/rack/head.rb:12:in `call'\n - actionpack (6.1.7) | ||
153 | lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n - actionpack | ||
154 | (6.1.7) lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n | ||
155 | - rack (2.2.4) lib/rack/session/abstract/id.rb:266:in `context'\n - rack (2.2.4) | ||
156 | lib/rack/session/abstract/id.rb:260:in `call'\n - actionpack (6.1.7) lib/action_dispatch/middleware/cookies.rb:689:in | ||
157 | `call'\n - activerecord (6.1.7) lib/active_record/migration.rb:601:in `call'\n | ||
158 | - actionpack (6.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `block | ||
159 | in call'\n - activesupport (6.1.7) lib/active_support/callbacks.rb:98:in `run_callbacks'\n | ||
160 | - actionpack (6.1.7) lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n | ||
161 | - actionpack (6.1.7) lib/action_dispatch/middleware/executor.rb:14:in `call'\n | ||
162 | - actionpack (6.1.7) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in | ||
163 | `call'\n - better_errors (2.9.1) lib/better_errors/middleware.rb:87:in `protected_app_call'\n | ||
164 | - better_errors (2.9.1) lib/better_errors/middleware.rb:82:in `better_errors_call'\n | ||
165 | - better_errors (2.9.1) lib/better_errors/middleware.rb:60:in `call'\n - actionpack | ||
166 | (6.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n | ||
167 | - actionpack (6.1.7) lib/action_dispatch/middleware/show_exceptions.rb:33:in | ||
168 | `call'\n - chewy (7.2.4) lib/chewy/railtie.rb:21:in `block in call'\n - chewy | ||
169 | (7.2.4) lib/chewy/strategy.rb:57:in `wrap'\n - chewy (7.2.4) lib/chewy.rb:154:in | ||
170 | `strategy'\n - chewy (7.2.4) lib/chewy/railtie.rb:21:in `call'\n - railties | ||
171 | (6.1.7) lib/rails/rack/logger.rb:37:in `call_app'\n - railties (6.1.7) lib/rails/rack/logger.rb:26:in | ||
172 | `block in call'\n - activesupport (6.1.7) lib/active_support/tagged_logging.rb:99:in | ||
173 | `block in tagged'\n - activesupport (6.1.7) lib/active_support/tagged_logging.rb:37:in | ||
174 | `tagged'\n - activesupport (6.1.7) lib/active_support/tagged_logging.rb:99:in | ||
175 | `tagged'\n - railties (6.1.7) lib/rails/rack/logger.rb:26:in `call'\n - sprockets-rails | ||
176 | (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'\n - actionpack (6.1.7) | ||
177 | lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n - actionpack (6.1.7) | ||
178 | lib/action_dispatch/middleware/request_id.rb:26:in `call'\n - rack (2.2.4) | ||
179 | lib/rack/method_override.rb:24:in `call'\n - rack (2.2.4) lib/rack/runtime.rb:22:in | ||
180 | `call'\n - activesupport (6.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in | ||
181 | `call'\n - actionpack (6.1.7) lib/action_dispatch/middleware/executor.rb:14:in | ||
182 | `call'\n - actionpack (6.1.7) lib/action_dispatch/middleware/static.rb:24:in | ||
183 | `call'\n - rack (2.2.4) lib/rack/sendfile.rb:110:in `call'\n - actionpack | ||
184 | (6.1.7) lib/action_dispatch/middleware/host_authorization.rb:148:in `call'\n | ||
185 | - rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'\n - webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in | ||
186 | `perform_request'\n - rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call'\n | ||
187 | - railties (6.1.7) lib/rails/engine.rb:539:in `call'\n - puma (5.6.5) lib/puma/configuration.rb:252:in | ||
188 | `call'\n - puma (5.6.5) lib/puma/request.rb:77:in `block in handle_request'\n | ||
189 | - puma (5.6.5) lib/puma/thread_pool.rb:340:in `with_force_shutdown'\n - puma | ||
190 | (5.6.5) lib/puma/request.rb:76:in `handle_request'\n - puma (5.6.5) lib/puma/server.rb:443:in | ||
191 | `process_client'\n - puma (5.6.5) lib/puma/thread_pool.rb:147:in `block in | ||
192 | spawn_thread'\n\n" | ||
43 | headers: | 193 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 194 | Content-Type: |
45 | Content-Type: [application/json; charset=utf-8] | 195 | - text/plain; charset=utf-8 |
46 | Referrer-Policy: [strict-origin-when-cross-origin] | 196 | Set-Cookie: |
47 | Transfer-Encoding: [chunked] | 197 | - BetterErrors-2.9.1-CSRF-Token=4580aa73-9d66-4bfa-870b-46593e252bde; path=/; |
48 | Vary: ['Accept-Encoding, Origin'] | 198 | HttpOnly; SameSite=Strict |
49 | X-Content-Type-Options: [nosniff] | 199 | Transfer-Encoding: |
50 | X-Download-Options: [noopen] | 200 | - chunked |
51 | X-Frame-Options: [SAMEORIGIN] | 201 | Vary: |
52 | X-Permitted-Cross-Domain-Policies: [none] | 202 | - Origin |
53 | X-Request-Id: [c43b7261-103d-4c62-a6dc-b405311ea7b2] | 203 | X-Request-Id: |
54 | X-Runtime: ['0.188207'] | 204 | - de262fec-8e84-4b04-85bb-5da30813c411 |
55 | X-XSS-Protection: [1; mode=block] | 205 | X-Runtime: |
56 | content-length: ['77'] | 206 | - '0.049918' |
57 | status: {code: 200, message: OK} | 207 | status: |
208 | code: 500 | ||
209 | message: Internal Server Error | ||
58 | - request: | 210 | - request: |
59 | body: null | 211 | body: null |
60 | headers: | 212 | headers: |
61 | Accept: ['*/*'] | 213 | Accept: |
62 | Accept-Encoding: ['gzip, deflate'] | 214 | - '*/*' |
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 215 | Accept-Encoding: |
64 | Connection: [keep-alive] | 216 | - gzip, deflate |
65 | Content-Length: ['0'] | 217 | Authorization: |
66 | User-Agent: [python-requests/2.18.4] | 218 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
219 | Connection: | ||
220 | - keep-alive | ||
221 | Content-Length: | ||
222 | - '0' | ||
223 | Cookie: | ||
224 | - BetterErrors-2.9.1-CSRF-Token=4580aa73-9d66-4bfa-870b-46593e252bde | ||
225 | User-Agent: | ||
226 | - tests/v311 | ||
67 | method: DELETE | 227 | method: DELETE |
68 | uri: http://localhost:3000/api/v1/featured_tags/1 | 228 | uri: http://localhost:3000/api/v1/statuses/109304274610657135 |
69 | response: | ||
70 | body: {string: '{}'} | ||
71 | headers: | ||
72 | Cache-Control: ['no-cache, no-store'] | ||
73 | Content-Type: [application/json; charset=utf-8] | ||
74 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
75 | Transfer-Encoding: [chunked] | ||
76 | Vary: ['Accept-Encoding, Origin'] | ||
77 | X-Content-Type-Options: [nosniff] | ||
78 | X-Download-Options: [noopen] | ||
79 | X-Frame-Options: [SAMEORIGIN] | ||
80 | X-Permitted-Cross-Domain-Policies: [none] | ||
81 | X-Request-Id: [7f5e34a5-5e47-4f17-95f8-f5ad9c7272d6] | ||
82 | X-Runtime: ['0.080202'] | ||
83 | X-XSS-Protection: [1; mode=block] | ||
84 | content-length: ['2'] | ||
85 | status: {code: 200, message: OK} | ||
86 | - request: | ||
87 | body: null | ||
88 | headers: | ||
89 | Accept: ['*/*'] | ||
90 | Accept-Encoding: ['gzip, deflate'] | ||
91 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
92 | Connection: [keep-alive] | ||
93 | User-Agent: [python-requests/2.18.4] | ||
94 | method: GET | ||
95 | uri: http://localhost:3000/api/v1/featured_tags | ||
96 | response: | 229 | response: |
97 | body: {string: '[]'} | 230 | body: |
231 | string: '{"id":"109304274610657135","created_at":"2022-11-07T19:54:29.915Z","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/109304274610657135","url":"http://localhost:3000/@mastodonpy_test/109304274610657135","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"cool | ||
232 | free #ringtones","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
233 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
234 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
235 | 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":0,"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":[{"name":"ringtones","url":"http://localhost:3000/tags/ringtones"}],"emojis":[],"card":null,"poll":null}' | ||
98 | headers: | 236 | headers: |
99 | Cache-Control: ['no-cache, no-store'] | 237 | Cache-Control: |
100 | Content-Type: [application/json; charset=utf-8] | 238 | - no-store |
101 | Referrer-Policy: [strict-origin-when-cross-origin] | 239 | Content-Security-Policy: |
102 | Transfer-Encoding: [chunked] | 240 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
103 | Vary: ['Accept-Encoding, Origin'] | 241 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
104 | X-Content-Type-Options: [nosniff] | 242 | style-src ''self'' http://localhost:3000 ''nonce-Hf3Oo/m+v4J/Ait+/fAFZw==''; |
105 | X-Download-Options: [noopen] | 243 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
106 | X-Frame-Options: [SAMEORIGIN] | 244 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
107 | X-Permitted-Cross-Domain-Policies: [none] | 245 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
108 | X-Request-Id: [55cc7acd-ff16-448c-ac09-b9dcb8090b74] | 246 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
109 | X-Runtime: ['0.063766'] | 247 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
110 | X-XSS-Protection: [1; mode=block] | 248 | worker-src ''self'' blob: http://localhost:3000' |
111 | content-length: ['2'] | 249 | Content-Type: |
112 | status: {code: 200, message: OK} | 250 | - application/json; charset=utf-8 |
251 | ETag: | ||
252 | - W/"b6c97f90f2b33e78eb4d27015883bb39" | ||
253 | Referrer-Policy: | ||
254 | - strict-origin-when-cross-origin | ||
255 | Transfer-Encoding: | ||
256 | - chunked | ||
257 | Vary: | ||
258 | - Accept, Origin | ||
259 | X-Content-Type-Options: | ||
260 | - nosniff | ||
261 | X-Download-Options: | ||
262 | - noopen | ||
263 | X-Frame-Options: | ||
264 | - SAMEORIGIN | ||
265 | X-Permitted-Cross-Domain-Policies: | ||
266 | - none | ||
267 | X-Request-Id: | ||
268 | - 7f8027d9-bdd5-4ed5-b652-110deb8cf5b2 | ||
269 | X-Runtime: | ||
270 | - '0.023956' | ||
271 | X-XSS-Protection: | ||
272 | - 1; mode=block | ||
273 | status: | ||
274 | code: 200 | ||
275 | message: OK | ||
113 | version: 1 | 276 | version: 1 |