aboutsummaryrefslogtreecommitdiff
blob: d6c6b6692d157132597ed59b1d561f75c94cc98f (plain) (blame)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
interactions:
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    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/nodeinfo/2.0"}]}'}
    headers:
      Cache-Control: ['max-age=259200, public']
      Content-Type: [application/json; charset=utf-8]
      Date: ['Sat, 12 Oct 2019 21:00:47 GMT']
      ETag: [W/"e01dd309b67221dc6bdb6e8fb8f1924d"]
      Referrer-Policy: [strict-origin-when-cross-origin]
      Transfer-Encoding: [chunked]
      Vary: ['Accept, Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Download-Options: [noopen]
      X-Frame-Options: [SAMEORIGIN]
      X-Permitted-Cross-Domain-Policies: [none]
      X-Request-Id: [4788e0ee-6ccd-49d1-8b31-5f05c7ec6d2c]
      X-Runtime: ['0.016716']
      X-XSS-Protection: [1; mode=block]
      content-length: ['108']
    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: [python-requests/2.18.4]
    method: GET
    uri: http://localhost/nodeinfo/2.0
  response:
    body: {string: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404
        Not Found</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"}
    headers:
      Connection: [keep-alive]
      Content-Type: [text/html]
      Date: ['Sat, 12 Oct 2019 21:00:47 GMT']
      Server: [nginx/1.14.0 (Ubuntu)]
      Transfer-Encoding: [chunked]
      content-length: ['178']
    status: {code: 404, message: Not Found}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/nodeinfo/2.0
  response:
    body: {string: '{"version":"2.0","software":{"name":"mastodon","version":"3.0.1"},"protocols":["activitypub"],"usage":{"users":{"total":3,"activeMonth":3,"activeHalfyear":3},"localPosts":31},"openRegistrations":true}'}
    headers:
      Cache-Control: ['max-age=1800, public']
      Content-Type: [application/json; charset=utf-8]
      Date: ['Sat, 12 Oct 2019 21:00:47 GMT']
      ETag: [W/"0d3e66413dc2cb33c37a2cac30bdf2d9"]
      Referrer-Policy: [strict-origin-when-cross-origin]
      Transfer-Encoding: [chunked]
      Vary: ['Accept,Accept-Encoding']
      X-Content-Type-Options: [nosniff]
      X-Download-Options: [noopen]
      X-Frame-Options: [SAMEORIGIN]
      X-Permitted-Cross-Domain-Policies: [none]
      X-Request-Id: [1331dcd9-74f3-41f1-bd6a-cd30a5085f2a]
      X-Runtime: ['0.023727']
      X-XSS-Protection: [1; mode=block]
      content-length: ['200']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)