2017-11-30 01:29:20 +01:00
|
|
|
interactions:
|
|
|
|
- request:
|
|
|
|
body: domain=example.com
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['18']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-04-18 22:00:35 +02:00
|
|
|
User-Agent: [python-requests/2.9.1]
|
2017-11-30 01:29:20 +01:00
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/domain_blocks
|
|
|
|
response:
|
|
|
|
body: {string: '{}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-05-07 00:53:13 +02:00
|
|
|
ETag: [W/"e1a8a0a7a84ff9152d240dd050a7f6b1"]
|
2017-11-30 01:29:20 +01:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-05-07 00:53:13 +02:00
|
|
|
X-Request-Id: [7a6d279b-625f-468e-84e7-b85894784098]
|
|
|
|
X-Runtime: ['0.044767']
|
2017-11-30 01:29:20 +01:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: domain=example.com
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['18']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-04-18 22:00:35 +02:00
|
|
|
User-Agent: [python-requests/2.9.1]
|
2017-11-30 01:29:20 +01:00
|
|
|
method: DELETE
|
|
|
|
uri: http://localhost:3000/api/v1/domain_blocks
|
|
|
|
response:
|
|
|
|
body: {string: '{}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-05-07 00:53:13 +02:00
|
|
|
ETag: [W/"e1a8a0a7a84ff9152d240dd050a7f6b1"]
|
2017-11-30 01:29:20 +01:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-05-07 00:53:13 +02:00
|
|
|
X-Request-Id: [a641134d-4ff5-4355-9036-b951b1999095]
|
|
|
|
X-Runtime: ['0.044367']
|
2018-04-18 22:07:03 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
2017-11-30 01:29:20 +01:00
|
|
|
version: 1
|