diff options
Diffstat (limited to 'tests/cassettes')
-rw-r--r-- | tests/cassettes/test_home_tl_anonymous_throws.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/cassettes/test_home_tl_anonymous_throws.yaml b/tests/cassettes/test_home_tl_anonymous_throws.yaml new file mode 100644 index 0000000..ebf87e3 --- /dev/null +++ b/tests/cassettes/test_home_tl_anonymous_throws.yaml | |||
@@ -0,0 +1,28 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Connection: [keep-alive] | ||
8 | User-Agent: [python-requests/2.18.4] | ||
9 | method: GET | ||
10 | uri: http://localhost:3000/api/v1/timelines/home | ||
11 | response: | ||
12 | body: {string: '{"error":"The access token is invalid"}'} | ||
13 | headers: | ||
14 | Cache-Control: [no-store] | ||
15 | Content-Type: [application/json; charset=utf-8] | ||
16 | Pragma: [no-cache] | ||
17 | Transfer-Encoding: [chunked] | ||
18 | Vary: ['Accept-Encoding, Origin'] | ||
19 | WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The | ||
20 | access token is invalid"'] | ||
21 | X-Content-Type-Options: [nosniff] | ||
22 | X-Frame-Options: [SAMEORIGIN] | ||
23 | X-Request-Id: [aa44c94d-0659-45a2-986d-a3c268195dfb] | ||
24 | X-Runtime: ['0.037813'] | ||
25 | X-XSS-Protection: [1; mode=block] | ||
26 | content-length: ['39'] | ||
27 | status: {code: 401, message: Unauthorized} | ||
28 | version: 1 | ||