diff options
author | Lorenz Diener <[email protected]> | 2019-10-12 20:25:55 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-12 20:25:55 +0200 |
commit | e60a3f1892bb685fcbe6ebbc9ed10602c9549028 (patch) | |
tree | 8e450dd68c8da7ffd5c30c19392c8b8588b05c37 /tests/cassettes | |
parent | ef8e3cec6af3e22fbbb7e6b2006f490e4167d1aa (diff) | |
download | mastodon.py-e60a3f1892bb685fcbe6ebbc9ed10602c9549028.tar.gz |
Add and document health API. Fixes #202
Diffstat (limited to 'tests/cassettes')
-rw-r--r-- | tests/cassettes/test_health.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/cassettes/test_health.yaml b/tests/cassettes/test_health.yaml new file mode 100644 index 0000000..ff8e97d --- /dev/null +++ b/tests/cassettes/test_health.yaml | |||
@@ -0,0 +1,30 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | User-Agent: [python-requests/2.18.4] | ||
10 | method: GET | ||
11 | uri: http://localhost:3000/health | ||
12 | response: | ||
13 | body: {string: success} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [text/plain; charset=utf-8] | ||
17 | Last-Modified: ['Sat, 12 Oct 2019 18:23:49 GMT'] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
19 | Transfer-Encoding: [chunked] | ||
20 | Vary: [Accept-Encoding] | ||
21 | X-Content-Type-Options: [nosniff] | ||
22 | X-Download-Options: [noopen] | ||
23 | X-Frame-Options: [SAMEORIGIN] | ||
24 | X-Permitted-Cross-Domain-Policies: [none] | ||
25 | X-Request-Id: [13fff315-deaa-47c3-9138-d61d02c5063e] | ||
26 | X-Runtime: ['0.311003'] | ||
27 | X-XSS-Protection: [1; mode=block] | ||
28 | content-length: ['7'] | ||
29 | status: {code: 200, message: OK} | ||
30 | version: 1 | ||