Mastodonplus.py/tests/cassettes/test_domain_block_unblock.yaml

57 líneas
1,9 KiB
YAML
Original Vista normal Històric

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 03:02:19 +02:00
ETag: [W/"7450e41af88d5294b91dd2d498b116ae"]
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 03:02:19 +02:00
X-Request-Id: [93ff5724-ddcf-4537-8c18-fa82ff4a7778]
X-Runtime: ['0.068193']
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 03:02:19 +02:00
ETag: [W/"7450e41af88d5294b91dd2d498b116ae"]
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 03:02:19 +02:00
X-Request-Id: [7855daf2-e300-4696-8934-daef465f275c]
X-Runtime: ['0.024385']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
2017-11-30 01:29:20 +01:00
version: 1