Mastodonplus.py/tests/cassettes_pre_2_9_2/test_notifications_dismiss.yaml

113 líneas
4,9 KiB
YAML
Original Vista normal Històric

2019-10-11 22:07:08 +02:00
interactions:
- request:
2019-10-11 22:38:07 +02:00
body: null
2019-10-11 22:07:08 +02:00
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
2019-10-11 22:38:07 +02:00
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
2019-10-11 22:07:08 +02:00
Connection: [keep-alive]
User-Agent: [python-requests/2.18.4]
2019-10-11 22:38:07 +02:00
method: GET
uri: http://localhost:3000/api/v1/notifications
2019-10-11 22:07:08 +02:00
response:
2019-10-11 22:38:07 +02:00
body:
string: !!binary |
H4sIACbooF0AA+xZS4/iOBD+K9mcgTjOi2Q10lz3sLc57fQImcSAZxzbih260Yr/vuU8SHhMQ49G
q24pF4jLVbar/FXVF/j6r8sKN3P9ALsz1xwUhUFJhWFSgCCvKDG0WBEDYoz8dO6jue9/wSgLkixK
Fkka/gN6JM9lLUCpXw5ktaaVIKVdkBQlE62aGQ0LphUnh1WnBRIu8x8UFtgQrunMXUtzer4+Corn
GH/xcRbiLEILlMb2KEIau9hTjVCQq+aLtgOvG9mzVRx0dsaozPNgU8J3Uhvv8+mge2JIdUulndGe
rNiWCcK9kmnNxHahxPZkuNKGGJb/gv2OkoLe3LiduWP4ysZ37DeSc/kMCqvuJnEvA51e5s9cuwHc
7KCGZi4t5Xem3ezrN7BhlBfN87FXHlCBcBpGcYLSIMCB7wfhIxCLk+ZemVhVVPHDysiVXU3UnJ9L
OxCOZjUVmhm2pycUaSUZhzgZ+mJayO2ZZmvGmTnAWNVrDuEDIBKxrcnWIomKBjDsVlAtxrXXoMbr
I+PddPNVxN02sY6xIdLIStZcbseSDdlLOJuhN4VDJrWW25GkrMfzuRSGWvNbiaMVEU7Oidafntzd
PCdV8eSOFYizq+jGTl75VxJtZCGFgiui2jy5p4XqOcTE6WpNv97nYcdWcGnfZvIw3wnI2WiYdnYU
MPzHVQFo49HjhCiIdE6aogdg7erR393WC3Vw7N6OriGmYPxM19o+NdbHqfpN1e9m9StpwQjcmCH5
zsK80+kQb0c9XnBgk3+ZovbpHD4XGfDK/V1rdpC7nDjCMQzZdgcaO2Bzu88KBQHoMH6cnXgCeitP
wJkfLOIwmXjClClv4gnhMkiWUYrihpvehViEo/+NJxSsorn5PTzh3M2HeMK5ycQTfgNPsMbOphbC
9voXA7yhui4HE2uYauHEGn6BNeARa2gUfo5N7Gf+MkPxIg2nnxamNHmcMgR+glMc4CSMwiQO7kAs
yJC/QMvgw/20cO3mXcpwbfIOKINg+dRgp8rxHhvsG/pcDy3bfemLgtcC/bOOBuUmaTpaqwdmpqqb
bOGGKT4Ukr0c5Zzfjk/aUg00wDBjzSAkdeWYZ3Dg4F6YI9uDez3NXsxhLpigl2r+8czT46h1+9Fj
L/zj0orjxRKnU/eecvBt3TtEKFomMUbpIxBL0Mf7Y+Dazce695nJO+jeH/+Ff02paj/+shIcEyX1
n6VDnO8gnJjJVBXfITP5OK/+3/4DAAD//wMAcL5C61ogAAA=
2019-10-11 22:07:08 +02:00
headers:
Cache-Control: ['no-cache, no-store']
2019-10-11 22:38:07 +02:00
Content-Encoding: [gzip]
2019-10-11 22:07:08 +02:00
Content-Type: [application/json; charset=utf-8]
2019-10-11 22:38:07 +02:00
Link: ['<http://localhost:3000/api/v1/notifications?max_id=115>; rel="next",
<http://localhost:3000/api/v1/notifications?min_id=132>; rel="prev"']
2019-10-11 22:07:08 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
2019-10-11 22:38:07 +02:00
X-Request-Id: [c803dcde-b4b2-4c79-ad89-8bfd07ec57ae]
X-Runtime: ['0.150857']
2019-10-11 22:07:08 +02:00
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: [python-requests/2.18.4]
method: GET
2019-10-11 22:38:07 +02:00
uri: http://localhost:3000/api/v1/instance/
2019-10-11 22:07:08 +02:00
response:
2019-10-11 22:38:07 +02:00
body:
string: !!binary |
H4sIACbooF0AA0yQXU7EMAyE7+Ln0vRnabe5AydAqDKJaQNpEiXO7sNq705KWcSb/WlGM/YNcjQg
wXqFdvWJoQI2bKmwF0zstXcFaUoqmsCmbBIKoA2NPcYLxXTwrp7qtpAcbQJ5g8SRcDNumTHsIdck
hfhLkqemaeBeFRnyjz4nirPy2THI/uA5PUDXlhq+xLoHaYqX17y9u6PLyhz+B4iA6iuJjbRBYTZc
KIkQ6WLo+jRhO+q++1Cncz9MdFZKT22D43M3NDSMuv4MS7nEolvybgT5CuTgrYJIiymH4f6Lgjlm
qkB5x6h4RvXbzWVr798AAAD//wMA7+lJTl0BAAA=
2019-10-11 22:07:08 +02:00
headers:
2019-10-11 22:38:07 +02:00
Cache-Control: ['max-age=300, public']
Content-Encoding: [gzip]
2019-10-11 22:07:08 +02:00
Content-Type: [application/json; charset=utf-8]
2019-10-11 22:38:07 +02:00
Date: ['Fri, 11 Oct 2019 20:37:58 GMT']
ETag: [W/"ad87f54668db431e5bc3f918c2e6980a"]
2019-10-11 22:07:08 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
2019-10-11 22:38:07 +02:00
X-Request-Id: [c6e9a6fe-e6c0-4fb4-be3f-c946b3c7ab32]
X-Runtime: ['0.028744']
2019-10-11 22:07:08 +02:00
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
2019-10-11 22:38:07 +02:00
body: id=132
2019-10-11 22:07:08 +02:00
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['6']
Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.18.4]
method: POST
uri: http://localhost:3000/api/v1/notifications/dismiss
response:
2019-10-11 22:38:07 +02:00
body:
string: !!binary |
H4sIACbooF0AA6quBQAAAP//AwBDv6ajAgAAAA==
2019-10-11 22:07:08 +02:00
headers:
Cache-Control: ['no-cache, no-store']
2019-10-11 22:38:07 +02:00
Content-Encoding: [gzip]
2019-10-11 22:07:08 +02:00
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
2019-10-11 22:38:07 +02:00
X-Request-Id: [4a767314-d1c1-4872-a9e1-fc3186b4b2a1]
X-Runtime: ['0.031584']
2019-10-11 22:07:08 +02:00
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1