Mastodonplus.py/tests/cassettes/test_verify_version.yaml

128 líneas
5,7 KiB
YAML
Original Vista normal Històric

2018-05-06 03:02:19 +02:00
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
2018-05-07 00:53:13 +02:00
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
2018-05-06 03:02:19 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
2018-05-06 03:02:19 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id: [9fe5503c-1e07-4800-9c35-65f6ee4b2c2e]
X-Runtime: ['0.027346']
2018-05-06 03:02:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['291']
2018-05-06 03:02:19 +02:00
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
2018-05-07 00:53:13 +02:00
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
2018-05-06 03:02:19 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
2018-05-06 03:02:19 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id: [5e0f46e6-23a1-4bbc-b3c8-faca51391f9b]
X-Runtime: ['0.030570']
2018-05-06 03:02:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['291']
2018-05-06 03:02:19 +02:00
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
2018-05-07 00:53:13 +02:00
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
2018-05-06 03:02:19 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
2018-05-06 03:02:19 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id: [b388eb88-a89b-45d8-994c-f36e464c94b0]
X-Runtime: ['0.029787']
2018-05-06 03:02:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['291']
2018-05-06 03:02:19 +02:00
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
2018-05-07 00:53:13 +02:00
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
2018-05-06 03:02:19 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
2018-05-06 03:02:19 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id: [168f48ba-14e1-42db-8558-b133e1ac4897]
X-Runtime: ['0.026928']
2018-05-06 03:02:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['291']
2018-05-06 03:02:19 +02:00
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
2018-05-07 00:53:13 +02:00
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
2018-05-06 03:02:19 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
2018-05-06 03:02:19 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id: [6b4b1438-3035-4a1e-99c6-1eaf16d818ef]
X-Runtime: ['0.026624']
2018-05-06 03:02:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['291']
2018-05-06 03:02:19 +02:00
status: {code: 200, message: OK}
version: 1