File: test_instance_rules.yaml

package info (click to toggle)
python-mastodon 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,836 kB
  • sloc: python: 9,438; makefile: 206; sql: 98; sh: 27
file content (63 lines) | stat: -rw-r--r-- 1,737 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate, br
      Authorization:
      - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
      Connection:
      - keep-alive
      User-Agent:
      - tests/v311
    method: GET
    uri: http://localhost:3000/api/v1/instance/rules
  response:
    body:
      string: '[]'
    headers:
      Content-Length:
      - '2'
      cache-control:
      - max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
      content-security-policy:
      - default-src 'none'; frame-ancestors 'none'; form-action 'none'
      content-type:
      - application/json; charset=utf-8
      date:
      - Sun, 17 Aug 2025 18:42:44 GMT
      etag:
      - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
      referrer-policy:
      - strict-origin-when-cross-origin
      server-timing:
      - cache_read.active_support;dur=0.03, sql.active_record;dur=0.69, cache_generate.active_support;dur=1.12,
        cache_write.active_support;dur=0.08, instantiation.active_record;dur=0.09,
        start_processing.action_controller;dur=0.01, render.active_model_serializers;dur=0.05,
        process_action.action_controller;dur=25.19
      vary:
      - Accept, Origin
      x-content-type-options:
      - nosniff
      x-frame-options:
      - SAMEORIGIN
      x-permitted-cross-domain-policies:
      - none
      x-ratelimit-limit:
      - '300'
      x-ratelimit-remaining:
      - '299'
      x-ratelimit-reset:
      - '2025-08-17T18:45:00.586108Z'
      x-request-id:
      - dadee758-e6b3-4972-b70f-449c15e33bf0
      x-runtime:
      - '0.047026'
      x-xss-protection:
      - '0'
    status:
      code: 200
      message: OK
version: 1