Mastodonplus.py/tests/cassettes/test_home_tl_anonymous_throws.yaml
2018-05-06 03:02:19 +02:00

29 líneas
959 B
YAML

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [python-requests/2.9.1]
method: GET
uri: http://localhost:3000/api/v1/timelines/home
response:
body: {string: '{"error":"The access token is invalid"}'}
headers:
Cache-Control: [no-store]
Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The
access token is invalid"']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [4b8e45c2-1064-4e9c-ac4d-0dcc2ce2d0b8]
X-Runtime: ['0.043879']
X-XSS-Protection: [1; mode=block]
content-length: ['39']
status: {code: 401, message: Unauthorized}
version: 1