Mastodonplus.py/tests/cassettes/test_list_update.yaml

176 líneas
6,2 KiB
YAML
Original Vista normal Històric

2018-05-06 15:42:38 +02:00
interactions:
- request:
body: title=ham+burglars
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['18']
Content-Type: [application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: POST
uri: http://localhost:3000/api/v1/lists
response:
2018-07-14 01:07:26 +02:00
body: {string: '{"id":"7","title":"ham burglars"}'}
2018-05-06 15:42:38 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"b2500b1fb311f5c1854e61230dca66c5"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [c7ff5798-9122-41ee-a5d0-ee62c73e7598]
X-Runtime: ['0.020667']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['33']
2018-05-06 15:42:38 +02:00
status: {code: 200, message: OK}
- request:
body: title=fry+kids
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['14']
Content-Type: [application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: PUT
2018-07-14 01:07:26 +02:00
uri: http://localhost:3000/api/v1/lists/7
2018-05-06 15:42:38 +02:00
response:
2018-07-14 01:07:26 +02:00
body: {string: '{"id":"7","title":"fry kids"}'}
2018-05-06 15:42:38 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"9f53c8dc2f0bd4d98fdf70acb6fbc983"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [71b7f4e1-6bd0-474a-8fdc-0a41e07b362a]
X-Runtime: ['0.018646']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['29']
2018-05-06 15:42:38 +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]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: GET
uri: http://localhost:3000/api/v1/lists
response:
2018-07-14 01:07:26 +02:00
body: {string: '[{"id":"7","title":"fry kids"}]'}
2018-05-06 15:42:38 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"c42170ea593f037a405a7a1ea192428c"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [fb67dfbf-e1d7-4a25-b9df-04c5bb749854]
X-Runtime: ['0.014171']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['31']
2018-05-06 15:42:38 +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]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: GET
uri: http://localhost:3000/api/v1/lists
response:
2018-07-14 01:07:26 +02:00
body: {string: '[{"id":"7","title":"fry kids"}]'}
2018-05-06 15:42:38 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"c42170ea593f037a405a7a1ea192428c"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [0b598973-abef-4cd7-98fd-f6b88e78c46f]
X-Runtime: ['0.014838']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['31']
2018-05-06 15:42:38 +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]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: GET
2018-07-14 01:07:26 +02:00
uri: http://localhost:3000/api/v1/lists/7
2018-05-06 15:42:38 +02:00
response:
2018-07-14 01:07:26 +02:00
body: {string: '{"id":"7","title":"fry kids"}'}
2018-05-06 15:42:38 +02:00
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"9f53c8dc2f0bd4d98fdf70acb6fbc983"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [e449f3ae-9382-437e-afd2-6a04bfbac319]
X-Runtime: ['0.021468']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
2018-05-07 00:53:13 +02:00
content-length: ['29']
2018-05-06 15:42:38 +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]
Content-Length: ['0']
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 15:42:38 +02:00
method: DELETE
2018-07-14 01:07:26 +02:00
uri: http://localhost:3000/api/v1/lists/7
2018-05-06 15:42:38 +02:00
response:
body: {string: '{}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 15:42:38 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-05-06 15:42:38 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2018-07-14 01:07:26 +02:00
X-Request-Id: [7bbc2225-a1b3-46f2-ba0f-2d7784c43886]
X-Runtime: ['0.031298']
2018-05-06 15:42:38 +02:00
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
version: 1