aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-21 22:34:12 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-21 22:34:12 +0200
commit6abaff55e7e78b83bd03af9f370a1256e7271b4a (patch)
tree976002d07332d591c554892495352172bf609c09 /tests/cassettes/test_media_post_file.yaml
parentf78298066fb676f84532caa2abc14b0970428acc (diff)
downloadmastodon.py-6abaff55e7e78b83bd03af9f370a1256e7271b4a.tar.gz
Refresh tests
Diffstat (limited to 'tests/cassettes/test_media_post_file.yaml')
-rw-r--r--tests/cassettes/test_media_post_file.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_media_post_file.yaml b/tests/cassettes/test_media_post_file.yaml
index 5c8f911..c6736ad 100644
--- a/tests/cassettes/test_media_post_file.yaml
+++ b/tests/cassettes/test_media_post_file.yaml
@@ -1,9 +1,9 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: !!binary | 3 body: !!binary |
4 LS01OTc5OTNiODc2MGM0ZWQ0NWRiNmU1ZDUyNGVkZTI0Mg0KQ29udGVudC1EaXNwb3NpdGlvbjog 4 LS1lZDIzZjBiYjJkYzk5N2Q1NWQ1NWRkMmU2ZWNmOTcyMg0KQ29udGVudC1EaXNwb3NpdGlvbjog
5 Zm9ybS1kYXRhOyBuYW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTY2ODgx 5 Zm9ybS1kYXRhOyBuYW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTY2OTA2
6 ODYxMy4xMDIyMDg5Xzk5NjVhYWMzNDkzYjQ2ZTc4NDBjZjJkODhjYmU1NzBjLmpwZyINCkNvbnRl 6 MjM0NS4zMzk5MTkzX2MyZWI5N2U2MDk5NjQ2Njg4MjQ3NDU3NmZhNDcxYzU3LmpwZyINCkNvbnRl
7 bnQtVHlwZTogaW1hZ2UvanBlZw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WQyM2YwYmIyZGM5OTdk
943 NDVkYjZlNWQ1MjRlZGUyNDItLQ0K 943 NTVkNTVkZDJlNmVjZjk3MjItLQ0K
944 headers: 944 headers:
945 Accept: 945 Accept:
946 - '*/*' 946 - '*/*'
@@ -953,21 +953,21 @@ interactions:
953 Content-Length: 953 Content-Length:
954 - '53544' 954 - '53544'
955 Content-Type: 955 Content-Type:
956 - multipart/form-data; boundary=597993b8760c4ed45db6e5d524ede242 956 - multipart/form-data; boundary=ed23f0bb2dc997d55d55dd2e6ecf9722
957 User-Agent: 957 User-Agent:
958 - tests/v311 958 - tests/v311
959 method: POST 959 method: POST
960 uri: http://localhost:3000/api/v2/media 960 uri: http://localhost:3000/api/v2/media
961 response: 961 response:
962 body: 962 body:
963 string: '{"id":"109367696637489117","type":"image","url":"http://localhost:3000/system/media_attachments/files/109/367/696/637/489/117/original/e56d7df42a964500.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/109/367/696/637/489/117/small/e56d7df42a964500.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":480,"height":480,"size":"480x480","aspect":1.0}},"description":null,"blurhash":"UGD9YhIn00j[NFofR%M{IURj%Ms;D%of%MR%"}' 963 string: '{"id":"109383669872743649","type":"image","url":"http://localhost:3000/system/media_attachments/files/109/383/669/872/743/649/original/9be12f2b8fe12c90.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/109/383/669/872/743/649/small/9be12f2b8fe12c90.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":480,"height":480,"size":"480x480","aspect":1.0}},"description":null,"blurhash":"UGD9YhIn00j[NFofR%M{IURj%Ms;D%of%MR%"}'
964 headers: 964 headers:
965 Cache-Control: 965 Cache-Control:
966 - no-store 966 - no-store
967 Content-Security-Policy: 967 Content-Security-Policy:
968 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 968 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
969 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 969 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
970 style-src ''self'' http://localhost:3000 ''nonce-LlrIvM/0/CcP5OwEzNCe4A==''; 970 style-src ''self'' http://localhost:3000 ''nonce-CUOKMOMSzHQ42RdbHyKP6Q=='';
971 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 971 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
972 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 972 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
973 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 973 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -977,7 +977,7 @@ interactions:
977 Content-Type: 977 Content-Type:
978 - application/json; charset=utf-8 978 - application/json; charset=utf-8
979 ETag: 979 ETag:
980 - W/"71a29db36eb82c13b3df6f6bcf8a026f" 980 - W/"d5ea53351cdb8814cab6d5ad87dbb078"
981 Referrer-Policy: 981 Referrer-Policy:
982 - strict-origin-when-cross-origin 982 - strict-origin-when-cross-origin
983 Transfer-Encoding: 983 Transfer-Encoding:
@@ -993,9 +993,9 @@ interactions:
993 X-Permitted-Cross-Domain-Policies: 993 X-Permitted-Cross-Domain-Policies:
994 - none 994 - none
995 X-Request-Id: 995 X-Request-Id:
996 - 94968497-1d3c-4858-bd67-4fa39d320883 996 - 2e2b58a7-1b05-4ee7-9ba8-eff83f083a16
997 X-Runtime: 997 X-Runtime:
998 - '0.142103' 998 - '0.131794'
999 X-XSS-Protection: 999 X-XSS-Protection:
1000 - 1; mode=block 1000 - 1; mode=block
1001 status: 1001 status:
Powered by cgit v1.2.3 (git 2.41.0)