Mastodonplus.py/tests/cassettes/test_home_tl_anonymous_throws.yaml

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

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
2018-04-18 22:00:35 +02:00
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]
2018-04-18 22:00:35 +02:00
X-Request-Id: [733bbb43-2d1f-4c73-95d6-37d3bb846a91]
X-Runtime: ['0.078774']
X-XSS-Protection: [1; mode=block]
content-length: ['39']
status: {code: 401, message: Unauthorized}
- 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: [1133e6be-0dfe-4e6b-bae4-5c3a8997c894]
X-Runtime: ['0.049213']
X-XSS-Protection: [1; mode=block]
content-length: ['39']
status: {code: 401, message: Unauthorized}
version: 1