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-06 01:37:13 +02:00
|
|
|
ETag: [W/"0701583423fc411927a998269cc998b6"]
|
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-06 01:37:13 +02:00
|
|
|
X-Request-Id: [2305d5f0-c15f-4fb3-9d07-657941c059a7]
|
|
|
|
X-Runtime: ['0.183163']
|
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-06 01:37:13 +02:00
|
|
|
ETag: [W/"0701583423fc411927a998269cc998b6"]
|
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-06 01:37:13 +02:00
|
|
|
X-Request-Id: [19dffabc-5e33-4ca7-a31e-1b21239a7815]
|
|
|
|
X-Runtime: ['0.037449']
|
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
|