Mastodonplus.py/tests/cassettes/test_home_tl_anonymous_throws.yaml

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

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
2018-07-14 01:07:26 +02:00
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:
2018-06-05 22:10:31 +02:00
Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache]
2018-06-05 22:10:31 +02:00
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]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [34a49889-cfb9-4d71-b3cb-1157026c0ace]
X-Runtime: ['0.025829']
X-XSS-Protection: [1; mode=block]
content-length: ['39']
status: {code: 401, message: Unauthorized}
version: 1