diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 3c06953..0c6b31e 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -10,7 +10,7 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":28,"last_status_at":"2019-10-11T21:49:23.975Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:01:17.856Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
@@ -21,8 +21,8 @@ interactions: | |||
21 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
24 | X-Request-Id: [fce817d3-8e10-4c99-932b-6cf0a569fff8] | 24 | X-Request-Id: [ea5cb92e-dbcd-4f23-978d-752520682ce5] |
25 | X-Runtime: ['0.025448'] | 25 | X-Runtime: ['0.027826'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['680'] | 27 | content-length: ['680'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
@@ -49,8 +49,8 @@ interactions: | |||
49 | X-Download-Options: [noopen] | 49 | X-Download-Options: [noopen] |
50 | X-Frame-Options: [SAMEORIGIN] | 50 | X-Frame-Options: [SAMEORIGIN] |
51 | X-Permitted-Cross-Domain-Policies: [none] | 51 | X-Permitted-Cross-Domain-Policies: [none] |
52 | X-Request-Id: [61f0ea5c-7606-40c6-854b-cbc1cd05f735] | 52 | X-Request-Id: [9ed775b8-fd27-4238-9974-ba31c74e1481] |
53 | X-Runtime: ['0.026404'] | 53 | X-Runtime: ['0.028644'] |
54 | X-XSS-Protection: [1; mode=block] | 54 | X-XSS-Protection: [1; mode=block] |
55 | content-length: ['211'] | 55 | content-length: ['211'] |
56 | status: {code: 200, message: OK} | 56 | status: {code: 200, message: OK} |
@@ -65,12 +65,12 @@ interactions: | |||
65 | method: GET | 65 | method: GET |
66 | uri: http://localhost:3000/api/v1/instance/ | 66 | uri: http://localhost:3000/api/v1/instance/ |
67 | response: | 67 | response: |
68 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.0.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":29,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} | 68 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.0.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":32,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} |
69 | headers: | 69 | headers: |
70 | Cache-Control: ['max-age=180, public'] | 70 | Cache-Control: ['max-age=180, public'] |
71 | Content-Type: [application/json; charset=utf-8] | 71 | Content-Type: [application/json; charset=utf-8] |
72 | Date: ['Fri, 11 Oct 2019 21:49:46 GMT'] | 72 | Date: ['Sat, 12 Oct 2019 21:01:39 GMT'] |
73 | ETag: [W/"1e222f0ccdc65d45e3d495accf7232be"] | 73 | ETag: [W/"7c4d87e5a60d71779df547f36eb582a6"] |
74 | Referrer-Policy: [strict-origin-when-cross-origin] | 74 | Referrer-Policy: [strict-origin-when-cross-origin] |
75 | Transfer-Encoding: [chunked] | 75 | Transfer-Encoding: [chunked] |
76 | Vary: ['Accept-Encoding, Origin'] | 76 | Vary: ['Accept-Encoding, Origin'] |
@@ -78,8 +78,8 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [83f9c992-3d48-47f6-aed8-0334bebd7f97] | 81 | X-Request-Id: [17e2a9b2-14c5-4908-afb2-8f831d000f26] |
82 | X-Runtime: ['0.059845'] | 82 | X-Runtime: ['0.042122'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['398'] | 84 | content-length: ['398'] |
85 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
@@ -96,9 +96,9 @@ interactions: | |||
96 | method: POST | 96 | method: POST |
97 | uri: http://localhost:3000/api/v1/statuses | 97 | uri: http://localhost:3000/api/v1/statuses |
98 | response: | 98 | response: |
99 | body: {string: '{"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly | 99 | body: {string: '{"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly |
100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
102 | headers: | 102 | headers: |
103 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
104 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -109,8 +109,8 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [1d3c8605-ee50-42db-b036-5efc10635dfc] | 112 | X-Request-Id: [8f45192c-c9a4-41e4-9e9c-36e71d9b3c64] |
113 | X-Runtime: ['0.153864'] | 113 | X-Runtime: ['0.176433'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['1298'] | 115 | content-length: ['1298'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
@@ -127,11 +127,11 @@ interactions: | |||
127 | method: POST | 127 | method: POST |
128 | uri: http://localhost:3000/api/v1/statuses | 128 | uri: http://localhost:3000/api/v1/statuses |
129 | response: | 129 | response: |
130 | body: {string: '{"id":"102945953641974619","created_at":"2019-10-11T21:49:51.493Z","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/102945953641974619","url":"http://localhost/@admin/102945953641974619","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | 130 | body: {string: '{"id":"102951426769804033","created_at":"2019-10-12T21:01:44.778Z","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/102951426769804033","url":"http://localhost/@admin/102951426769804033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
134 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} | 134 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} |
135 | headers: | 135 | headers: |
136 | Cache-Control: ['no-cache, no-store'] | 136 | Cache-Control: ['no-cache, no-store'] |
137 | Content-Type: [application/json; charset=utf-8] | 137 | Content-Type: [application/json; charset=utf-8] |
@@ -142,8 +142,8 @@ interactions: | |||
142 | X-Download-Options: [noopen] | 142 | X-Download-Options: [noopen] |
143 | X-Frame-Options: [SAMEORIGIN] | 143 | X-Frame-Options: [SAMEORIGIN] |
144 | X-Permitted-Cross-Domain-Policies: [none] | 144 | X-Permitted-Cross-Domain-Policies: [none] |
145 | X-Request-Id: [d81fe61a-3f7d-4211-bd7c-266a694974b4] | 145 | X-Request-Id: [3949877d-699b-40aa-869c-c942f82a3a42] |
146 | X-Runtime: ['0.266044'] | 146 | X-Runtime: ['0.257322'] |
147 | X-XSS-Protection: [1; mode=block] | 147 | X-XSS-Protection: [1; mode=block] |
148 | content-length: ['1556'] | 148 | content-length: ['1556'] |
149 | status: {code: 200, message: OK} | 149 | status: {code: 200, message: OK} |
@@ -160,9 +160,9 @@ interactions: | |||
160 | method: POST | 160 | method: POST |
161 | uri: http://localhost:3000/api/v1/statuses | 161 | uri: http://localhost:3000/api/v1/statuses |
162 | response: | 162 | response: |
163 | body: {string: '{"id":"102945953661125145","created_at":"2019-10-11T21:49:51.767Z","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/102945953661125145","url":"http://localhost/@admin/102945953661125145","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon | 163 | body: {string: '{"id":"102951426786050221","created_at":"2019-10-12T21:01:45.054Z","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/102951426786050221","url":"http://localhost/@admin/102951426786050221","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon |
164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
165 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-11T21:49:51.782Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 165 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","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":2,"following_count":1,"statuses_count":33,"last_status_at":"2019-10-12T21:01:45.075Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
166 | headers: | 166 | headers: |
167 | Cache-Control: ['no-cache, no-store'] | 167 | Cache-Control: ['no-cache, no-store'] |
168 | Content-Type: [application/json; charset=utf-8] | 168 | Content-Type: [application/json; charset=utf-8] |
@@ -173,8 +173,8 @@ interactions: | |||
173 | X-Download-Options: [noopen] | 173 | X-Download-Options: [noopen] |
174 | X-Frame-Options: [SAMEORIGIN] | 174 | X-Frame-Options: [SAMEORIGIN] |
175 | X-Permitted-Cross-Domain-Policies: [none] | 175 | X-Permitted-Cross-Domain-Policies: [none] |
176 | X-Request-Id: [f65b77a8-9a58-4678-9434-0307fda2731b] | 176 | X-Request-Id: [86db19e1-7d49-496a-97a3-ec19a7167ae2] |
177 | X-Runtime: ['0.224582'] | 177 | X-Runtime: ['0.214519'] |
178 | X-XSS-Protection: [1; mode=block] | 178 | X-XSS-Protection: [1; mode=block] |
179 | content-length: ['1265'] | 179 | content-length: ['1265'] |
180 | status: {code: 200, message: OK} | 180 | status: {code: 200, message: OK} |
@@ -188,11 +188,11 @@ interactions: | |||
188 | Content-Length: ['0'] | 188 | Content-Length: ['0'] |
189 | User-Agent: [python-requests/2.18.4] | 189 | User-Agent: [python-requests/2.18.4] |
190 | method: DELETE | 190 | method: DELETE |
191 | uri: http://localhost:3000/api/v1/statuses/102945953629637528 | 191 | uri: http://localhost:3000/api/v1/statuses/102951426753689473 |
192 | response: | 192 | response: |
193 | body: {string: '{"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only | 193 | body: {string: '{"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only |
194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test | 194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test |
195 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 195 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
196 | headers: | 196 | headers: |
197 | Cache-Control: ['no-cache, no-store'] | 197 | Cache-Control: ['no-cache, no-store'] |
198 | Content-Type: [application/json; charset=utf-8] | 198 | Content-Type: [application/json; charset=utf-8] |
@@ -203,8 +203,8 @@ interactions: | |||
203 | X-Download-Options: [noopen] | 203 | X-Download-Options: [noopen] |
204 | X-Frame-Options: [SAMEORIGIN] | 204 | X-Frame-Options: [SAMEORIGIN] |
205 | X-Permitted-Cross-Domain-Policies: [none] | 205 | X-Permitted-Cross-Domain-Policies: [none] |
206 | X-Request-Id: [8d743ac4-6035-45b8-ba48-d2b7369c53d5] | 206 | X-Request-Id: [049d8736-f708-4408-8cae-713cb99a8716] |
207 | X-Runtime: ['0.109645'] | 207 | X-Runtime: ['0.119567'] |
208 | X-XSS-Protection: [1; mode=block] | 208 | X-XSS-Protection: [1; mode=block] |
209 | content-length: ['1268'] | 209 | content-length: ['1268'] |
210 | status: {code: 200, message: OK} | 210 | status: {code: 200, message: OK} |
@@ -221,22 +221,22 @@ interactions: | |||
221 | response: | 221 | response: |
222 | body: {string: 'event: update | 222 | body: {string: 'event: update |
223 | 223 | ||
224 | data: {"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only | 224 | data: {"id":"102951426753689473","created_at":"2019-10-12T21:01:44.528Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102951426753689473","url":"http://localhost/@mastodonpy_test/102951426753689473","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only |
225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | 225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
226 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"<p></p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | 226 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"<p></p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-12T21:01:44.550Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} |
227 | 227 | ||
228 | 228 | ||
229 | event: notification | 229 | event: notification |
230 | 230 | ||
231 | data: {"id":"203","type":"mention","created_at":"2019-10-11T21:49:51.633Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":2,"following_count":1,"statuses_count":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"status":{"id":"102945953641974619","created_at":"2019-10-11T21:49:51.493Z","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/102945953641974619","url":"http://localhost/@admin/102945953641974619","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span | 231 | data: {"id":"222","type":"mention","created_at":"2019-10-12T21:01:44.891Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"status":{"id":"102951426769804033","created_at":"2019-10-12T21:01:44.778Z","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/102951426769804033","url":"http://localhost/@admin/102951426769804033","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span |
232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py | 233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py |
234 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":2,"following_count":1,"statuses_count":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 234 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:44.788Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
235 | 235 | ||
236 | 236 | ||
237 | event: delete | 237 | event: delete |
238 | 238 | ||
239 | data: 102945953629637528 | 239 | data: 102951426753689473 |
240 | 240 | ||
241 | 241 | ||
242 | :'} | 242 | :'} |
@@ -246,9 +246,9 @@ interactions: | |||
246 | Access-Control-Allow-Origin: ['*'] | 246 | Access-Control-Allow-Origin: ['*'] |
247 | Connection: [keep-alive] | 247 | Connection: [keep-alive] |
248 | Content-Type: [text/event-stream] | 248 | Content-Type: [text/event-stream] |
249 | Date: ['Fri, 11 Oct 2019 21:49:51 GMT'] | 249 | Date: ['Sat, 12 Oct 2019 21:01:44 GMT'] |
250 | Transfer-Encoding: [chunked] | 250 | Transfer-Encoding: [chunked] |
251 | X-Powered-By: [Express] | 251 | X-Powered-By: [Express] |
252 | X-Request-Id: [9594125f-fa3a-49b7-acaf-311476a96147] | 252 | X-Request-Id: [57d4f566-f1d3-42f8-85fa-e043ac49d67b] |
253 | status: {code: 200, message: OK} | 253 | status: {code: 200, message: OK} |
254 | version: 1 | 254 | version: 1 |