kopia lustrzana https://github.com/halcy/Mastodon.py
123 wiersze
4.1 KiB
YAML
123 wiersze
4.1 KiB
YAML
interactions:
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- tests/v311
|
|
method: GET
|
|
uri: http://localhost:3000/.well-known/nodeinfo
|
|
response:
|
|
body:
|
|
string: '{"links":[{"rel":"http://nodeinfo.diaspora.software/ns/schema/2.0","href":"http://localhost:3000/nodeinfo/2.0"}]}'
|
|
headers:
|
|
Cache-Control:
|
|
- max-age=259200, public
|
|
Content-Security-Policy:
|
|
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
|
''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
|
|
style-src ''self'' http://localhost:3000 ''nonce-wAkLy03aNexE4iPq1jhehw=='';
|
|
media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
|
|
https:; manifest-src ''self'' http://localhost:3000; form-action ''self'';
|
|
connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000
|
|
ws://localhost:4000 ws://localhost:3035 http://localhost:3035; script-src
|
|
''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; child-src
|
|
''self'' blob: http://localhost:3000; worker-src ''self'' blob: http://localhost:3000'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Fri, 23 Jun 2023 15:01:34 GMT
|
|
ETag:
|
|
- W/"30113ea20db19da6a25dac6491c2351e"
|
|
Referrer-Policy:
|
|
- strict-origin-when-cross-origin
|
|
Transfer-Encoding:
|
|
- chunked
|
|
Vary:
|
|
- Accept, Origin
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- SAMEORIGIN
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Request-Id:
|
|
- 5220e370-c214-42c1-ad8b-f5598d9eb777
|
|
X-Runtime:
|
|
- '0.010724'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- tests/v311
|
|
method: GET
|
|
uri: http://localhost:3000/nodeinfo/2.0
|
|
response:
|
|
body:
|
|
string: '{"version":"2.0","software":{"name":"mastodon","version":"4.1.2"},"protocols":["activitypub"],"services":{"outbound":[],"inbound":[]},"usage":{"users":{"total":4,"activeMonth":0,"activeHalfyear":0},"localPosts":2},"openRegistrations":true,"metadata":{}}'
|
|
headers:
|
|
Cache-Control:
|
|
- max-age=1800, public
|
|
Content-Security-Policy:
|
|
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
|
''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
|
|
style-src ''self'' http://localhost:3000 ''nonce-k46hZiSz0X6ekM/42S0faw=='';
|
|
media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
|
|
https:; manifest-src ''self'' http://localhost:3000; form-action ''self'';
|
|
connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000
|
|
ws://localhost:4000 ws://localhost:3035 http://localhost:3035; script-src
|
|
''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; child-src
|
|
''self'' blob: http://localhost:3000; worker-src ''self'' blob: http://localhost:3000'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Fri, 23 Jun 2023 15:01:34 GMT
|
|
ETag:
|
|
- W/"d6bfea31811fdc39aa28a55749129f81"
|
|
Referrer-Policy:
|
|
- strict-origin-when-cross-origin
|
|
Transfer-Encoding:
|
|
- chunked
|
|
Vary:
|
|
- Accept
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- SAMEORIGIN
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Request-Id:
|
|
- 6f656a1f-bb44-4557-93b6-c0851f0180c6
|
|
X-Runtime:
|
|
- '0.010462'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|