Mastodonplus.py/tests/cassettes/test_home_tl_anonymous_throws.yaml
2018-07-30 23:19:51 +02:00

31 líneas
1,1 KiB
YAML

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [python-requests/2.18.4]
method: GET
uri: http://localhost:3000/api/v1/timelines/home
response:
body: {string: '{"error":"The access token is invalid"}'}
headers:
Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache]
Referrer-Policy: [strict-origin-when-cross-origin]
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-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [f05cea67-b3a3-4d64-835c-a6019b3efe7c]
X-Runtime: ['0.039518']
X-XSS-Protection: [1; mode=block]
content-length: ['39']
status: {code: 401, message: Unauthorized}
version: 1