diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 110 |
1 files changed, 56 insertions, 54 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index f0a1ae4..4e0d5e6 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -10,11 +10,10 @@ 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-04-27T18:52:42.626Z","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":8,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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":0,"following_count":0,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"cd2127b055679523c42093d9fa35eaf9"] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 17 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,8 +21,8 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [d33ae198-a4ca-4207-afb4-036e11d9033b] | 24 | X-Request-Id: [1fca6cd2-444a-4918-a374-6fcc3f6cbf6d] |
26 | X-Runtime: ['0.190787'] | 25 | X-Runtime: ['0.057864'] |
27 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['609'] | 27 | content-length: ['609'] |
29 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
@@ -41,9 +40,8 @@ interactions: | |||
41 | response: | 40 | response: |
42 | 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}'} | 41 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
43 | headers: | 42 | headers: |
44 | Cache-Control: ['max-age=0, private, must-revalidate'] | 43 | Cache-Control: ['no-cache, no-store'] |
45 | Content-Type: [application/json; charset=utf-8] | 44 | Content-Type: [application/json; charset=utf-8] |
46 | ETag: [W/"c69d2321c40813c2e91746f6df8c685b"] | ||
47 | Referrer-Policy: [strict-origin-when-cross-origin] | 45 | Referrer-Policy: [strict-origin-when-cross-origin] |
48 | Transfer-Encoding: [chunked] | 46 | Transfer-Encoding: [chunked] |
49 | Vary: ['Accept-Encoding, Origin'] | 47 | Vary: ['Accept-Encoding, Origin'] |
@@ -51,8 +49,8 @@ interactions: | |||
51 | X-Download-Options: [noopen] | 49 | X-Download-Options: [noopen] |
52 | X-Frame-Options: [SAMEORIGIN] | 50 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Permitted-Cross-Domain-Policies: [none] | 51 | X-Permitted-Cross-Domain-Policies: [none] |
54 | X-Request-Id: [559452ea-a4ca-49ce-a41c-9789a4e175d6] | 52 | X-Request-Id: [76cbc535-db11-451c-990b-ad974b1e2701] |
55 | X-Runtime: ['0.027095'] | 53 | X-Runtime: ['0.088849'] |
56 | X-XSS-Protection: [1; mode=block] | 54 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['211'] | 55 | content-length: ['211'] |
58 | status: {code: 200, message: OK} | 56 | status: {code: 200, message: OK} |
@@ -67,12 +65,12 @@ interactions: | |||
67 | method: GET | 65 | method: GET |
68 | uri: http://localhost:3000/api/v1/instance/ | 66 | uri: http://localhost:3000/api/v1/instance/ |
69 | response: | 67 | response: |
70 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":10,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} | 68 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":1,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} |
71 | headers: | 69 | headers: |
72 | Cache-Control: ['max-age=300, public'] | 70 | Cache-Control: ['max-age=300, public'] |
73 | Content-Type: [application/json; charset=utf-8] | 71 | Content-Type: [application/json; charset=utf-8] |
74 | Date: ['Sat, 27 Apr 2019 23:51:08 GMT'] | 72 | Date: ['Sat, 22 Jun 2019 13:03:56 GMT'] |
75 | ETag: [W/"1853e19f93744ec050047787c0defeb4"] | 73 | ETag: [W/"ee7808ee1b13d469fd4f8951cd3f9f8a"] |
76 | Referrer-Policy: [strict-origin-when-cross-origin] | 74 | Referrer-Policy: [strict-origin-when-cross-origin] |
77 | Transfer-Encoding: [chunked] | 75 | Transfer-Encoding: [chunked] |
78 | Vary: ['Accept-Encoding, Origin'] | 76 | Vary: ['Accept-Encoding, Origin'] |
@@ -80,10 +78,10 @@ interactions: | |||
80 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
81 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
82 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
83 | X-Request-Id: [15378378-5d7a-4d03-aef0-2da0d7523ab3] | 81 | X-Request-Id: [cfb4c102-f7f1-48df-8209-2c0fea3dbf0c] |
84 | X-Runtime: ['0.038039'] | 82 | X-Runtime: ['0.043274'] |
85 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['349'] | 84 | content-length: ['348'] |
87 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
88 | - request: | 86 | - request: |
89 | body: status=only+real+cars+respond. | 87 | body: status=only+real+cars+respond. |
@@ -98,13 +96,14 @@ interactions: | |||
98 | method: POST | 96 | method: POST |
99 | uri: http://localhost:3000/api/v1/statuses | 97 | uri: http://localhost:3000/api/v1/statuses |
100 | response: | 98 | response: |
101 | body: {string: '{"id":"102000825046689277","created_at":"2019-04-27T23:51:13.758Z","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/102000825046689277","content":"\u003cp\u003eonly | 99 | body: {string: '{"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly |
102 | real cars respond.\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/102000825046689277","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
103 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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":3,"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":"John |
102 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
103 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
104 | headers: | 104 | headers: |
105 | Cache-Control: ['max-age=0, private, must-revalidate'] | 105 | Cache-Control: ['no-cache, no-store'] |
106 | Content-Type: [application/json; charset=utf-8] | 106 | Content-Type: [application/json; charset=utf-8] |
107 | ETag: [W/"6a5a7e8c76cf1f6e542c7fa3d0b324e6"] | ||
108 | Referrer-Policy: [strict-origin-when-cross-origin] | 107 | Referrer-Policy: [strict-origin-when-cross-origin] |
109 | Transfer-Encoding: [chunked] | 108 | Transfer-Encoding: [chunked] |
110 | Vary: ['Accept-Encoding, Origin'] | 109 | Vary: ['Accept-Encoding, Origin'] |
@@ -112,10 +111,10 @@ interactions: | |||
112 | X-Download-Options: [noopen] | 111 | X-Download-Options: [noopen] |
113 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
114 | X-Permitted-Cross-Domain-Policies: [none] | 113 | X-Permitted-Cross-Domain-Policies: [none] |
115 | X-Request-Id: [f07f61fc-8265-4d61-8c98-84e0388f31c0] | 114 | X-Request-Id: [4b875c60-55fe-4455-adcc-0dda8683da0a] |
116 | X-Runtime: ['0.541242'] | 115 | X-Runtime: ['0.148230'] |
117 | X-XSS-Protection: [1; mode=block] | 116 | X-XSS-Protection: [1; mode=block] |
118 | content-length: ['1253'] | 117 | content-length: ['1615'] |
119 | status: {code: 200, message: OK} | 118 | status: {code: 200, message: OK} |
120 | - request: | 119 | - request: |
121 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 120 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -130,15 +129,14 @@ interactions: | |||
130 | method: POST | 129 | method: POST |
131 | uri: http://localhost:3000/api/v1/statuses | 130 | uri: http://localhost:3000/api/v1/statuses |
132 | response: | 131 | response: |
133 | body: {string: '{"id":"102000825079136326","created_at":"2019-04-27T23:51:14.093Z","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/102000825079136326","content":"\u003cp\u003e\u003cspan | 132 | body: {string: '{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","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/102315369523202198","url":"http://localhost/@admin/102315369523202198","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
134 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 133 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
135 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 134 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
136 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost/@admin/102000825079136326","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 135 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
137 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":9,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} | 136 | 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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} |
138 | headers: | 137 | headers: |
139 | Cache-Control: ['max-age=0, private, must-revalidate'] | 138 | Cache-Control: ['no-cache, no-store'] |
140 | Content-Type: [application/json; charset=utf-8] | 139 | Content-Type: [application/json; charset=utf-8] |
141 | ETag: [W/"2ccbe7c603db538a9b9d94ff8174016d"] | ||
142 | Referrer-Policy: [strict-origin-when-cross-origin] | 140 | Referrer-Policy: [strict-origin-when-cross-origin] |
143 | Transfer-Encoding: [chunked] | 141 | Transfer-Encoding: [chunked] |
144 | Vary: ['Accept-Encoding, Origin'] | 142 | Vary: ['Accept-Encoding, Origin'] |
@@ -146,8 +144,8 @@ interactions: | |||
146 | X-Download-Options: [noopen] | 144 | X-Download-Options: [noopen] |
147 | X-Frame-Options: [SAMEORIGIN] | 145 | X-Frame-Options: [SAMEORIGIN] |
148 | X-Permitted-Cross-Domain-Policies: [none] | 146 | X-Permitted-Cross-Domain-Policies: [none] |
149 | X-Request-Id: [13c205c2-e5bc-4469-b6a0-a7dc18dd5f11] | 147 | X-Request-Id: [ea5b4ce1-da66-4937-b029-a61639667174] |
150 | X-Runtime: ['0.213550'] | 148 | X-Runtime: ['0.260557'] |
151 | X-XSS-Protection: [1; mode=block] | 149 | X-XSS-Protection: [1; mode=block] |
152 | content-length: ['1511'] | 150 | content-length: ['1511'] |
153 | status: {code: 200, message: OK} | 151 | status: {code: 200, message: OK} |
@@ -164,13 +162,12 @@ interactions: | |||
164 | method: POST | 162 | method: POST |
165 | uri: http://localhost:3000/api/v1/statuses | 163 | uri: http://localhost:3000/api/v1/statuses |
166 | response: | 164 | response: |
167 | body: {string: '{"id":"102000825095837749","created_at":"2019-04-27T23:51:14.349Z","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/102000825095837749","content":"\u003cp\u003eon | 165 | body: {string: '{"id":"102315369541189753","created_at":"2019-06-22T13:04:01.698Z","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/102315369541189753","url":"http://localhost/@admin/102315369541189753","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon |
168 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost/@admin/102000825095837749","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 166 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
169 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":10,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 167 | 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":0,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
170 | headers: | 168 | headers: |
171 | Cache-Control: ['max-age=0, private, must-revalidate'] | 169 | Cache-Control: ['no-cache, no-store'] |
172 | Content-Type: [application/json; charset=utf-8] | 170 | Content-Type: [application/json; charset=utf-8] |
173 | ETag: [W/"c2ab6b89316efb69005c230c72accb6b"] | ||
174 | Referrer-Policy: [strict-origin-when-cross-origin] | 171 | Referrer-Policy: [strict-origin-when-cross-origin] |
175 | Transfer-Encoding: [chunked] | 172 | Transfer-Encoding: [chunked] |
176 | Vary: ['Accept-Encoding, Origin'] | 173 | Vary: ['Accept-Encoding, Origin'] |
@@ -178,10 +175,10 @@ interactions: | |||
178 | X-Download-Options: [noopen] | 175 | X-Download-Options: [noopen] |
179 | X-Frame-Options: [SAMEORIGIN] | 176 | X-Frame-Options: [SAMEORIGIN] |
180 | X-Permitted-Cross-Domain-Policies: [none] | 177 | X-Permitted-Cross-Domain-Policies: [none] |
181 | X-Request-Id: [48b902b9-9cb6-422d-a3f1-ea014a8cd6e7] | 178 | X-Request-Id: [51ec6fe5-86a0-4a15-bc7f-07350127cf57] |
182 | X-Runtime: ['0.165465'] | 179 | X-Runtime: ['0.185403'] |
183 | X-XSS-Protection: [1; mode=block] | 180 | X-XSS-Protection: [1; mode=block] |
184 | content-length: ['1221'] | 181 | content-length: ['1220'] |
185 | status: {code: 200, message: OK} | 182 | status: {code: 200, message: OK} |
186 | - request: | 183 | - request: |
187 | body: null | 184 | body: null |
@@ -193,13 +190,16 @@ interactions: | |||
193 | Content-Length: ['0'] | 190 | Content-Length: ['0'] |
194 | User-Agent: [python-requests/2.18.4] | 191 | User-Agent: [python-requests/2.18.4] |
195 | method: DELETE | 192 | method: DELETE |
196 | uri: http://localhost:3000/api/v1/statuses/102000825046689277 | 193 | uri: http://localhost:3000/api/v1/statuses/102315369511109147 |
197 | response: | 194 | response: |
198 | body: {string: '{}'} | 195 | body: {string: '{"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only |
196 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test | ||
197 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
198 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
199 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
199 | headers: | 200 | headers: |
200 | Cache-Control: ['max-age=0, private, must-revalidate'] | 201 | Cache-Control: ['no-cache, no-store'] |
201 | Content-Type: [application/json; charset=utf-8] | 202 | Content-Type: [application/json; charset=utf-8] |
202 | ETag: [W/"68dc9d53058fab55b922570e8d9416d8"] | ||
203 | Referrer-Policy: [strict-origin-when-cross-origin] | 203 | Referrer-Policy: [strict-origin-when-cross-origin] |
204 | Transfer-Encoding: [chunked] | 204 | Transfer-Encoding: [chunked] |
205 | Vary: ['Accept-Encoding, Origin'] | 205 | Vary: ['Accept-Encoding, Origin'] |
@@ -207,10 +207,10 @@ interactions: | |||
207 | X-Download-Options: [noopen] | 207 | X-Download-Options: [noopen] |
208 | X-Frame-Options: [SAMEORIGIN] | 208 | X-Frame-Options: [SAMEORIGIN] |
209 | X-Permitted-Cross-Domain-Policies: [none] | 209 | X-Permitted-Cross-Domain-Policies: [none] |
210 | X-Request-Id: [1c002f40-b79d-40a4-8e64-e8e81bbde4a3] | 210 | X-Request-Id: [b7b8739b-bf64-4bf8-88b8-81a4507406dd] |
211 | X-Runtime: ['0.062087'] | 211 | X-Runtime: ['0.103892'] |
212 | X-XSS-Protection: [1; mode=block] | 212 | X-XSS-Protection: [1; mode=block] |
213 | content-length: ['2'] | 213 | content-length: ['1585'] |
214 | status: {code: 200, message: OK} | 214 | status: {code: 200, message: OK} |
215 | - request: | 215 | - request: |
216 | body: null | 216 | body: null |
@@ -225,22 +225,24 @@ interactions: | |||
225 | response: | 225 | response: |
226 | body: {string: 'event: update | 226 | body: {string: 'event: update |
227 | 227 | ||
228 | data: {"id":"102000825046689277","created_at":"2019-04-27T23:51:13.758Z","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/102000825046689277","content":"<p>only | 228 | data: {"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","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/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only |
229 | real cars respond.</p>","url":"http://localhost/@mastodonpy_test/102000825046689277","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 229 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
230 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | 230 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
231 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"<p>I | ||
232 | walk funny</p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | ||
231 | 233 | ||
232 | 234 | ||
233 | event: notification | 235 | event: notification |
234 | 236 | ||
235 | data: {"id":"8","type":"mention","created_at":"2019-04-27T23:51:14.235Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":9,"emojis":[],"fields":[]},"status":{"id":"102000825079136326","created_at":"2019-04-27T23:51:14.093Z","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/102000825079136326","content":"<p><span | 237 | data: {"id":"13","type":"mention","created_at":"2019-06-22T13:04:01.554Z","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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"status":{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","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/102315369523202198","url":"http://localhost/@admin/102315369523202198","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span |
236 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 238 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
237 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","url":"http://localhost/@admin/102000825079136326","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 239 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py |
238 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":9,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 240 | 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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
239 | 241 | ||
240 | 242 | ||
241 | event: delete | 243 | event: delete |
242 | 244 | ||
243 | data: 102000825046689277 | 245 | data: 102315369511109147 |
244 | 246 | ||
245 | 247 | ||
246 | :'} | 248 | :'} |
@@ -250,9 +252,9 @@ interactions: | |||
250 | Access-Control-Allow-Origin: ['*'] | 252 | Access-Control-Allow-Origin: ['*'] |
251 | Connection: [keep-alive] | 253 | Connection: [keep-alive] |
252 | Content-Type: [text/event-stream] | 254 | Content-Type: [text/event-stream] |
253 | Date: ['Sat, 27 Apr 2019 23:51:14 GMT'] | 255 | Date: ['Sat, 22 Jun 2019 13:04:01 GMT'] |
254 | Transfer-Encoding: [chunked] | 256 | Transfer-Encoding: [chunked] |
255 | X-Powered-By: [Express] | 257 | X-Powered-By: [Express] |
256 | X-Request-Id: [b9afd71f-bd22-418a-82c9-b6b308aaf422] | 258 | X-Request-Id: [c4f3c36c-06d0-48d1-b740-e9e5dd5e701a] |
257 | status: {code: 200, message: OK} | 259 | status: {code: 200, message: OK} |
258 | version: 1 | 260 | version: 1 |