@@ -1171,7 +1171,7 @@ def test_bulk_file_delete_succeeds(self):
11711171 "raw": {"successfullyDeletedFileIds": ["fake_123", "fake_222"]},
11721172 "httpStatusCode": 200,
11731173 "headers": {
1174- "Content-Type": "text/plain, application/json",
1174+ "Content-Type": "application/json",
11751175 "Authorization": "Basic ZmFrZTEyMjo=",
11761176 },
11771177 }
@@ -1212,7 +1212,7 @@ def test_bulk_file_delete_succeeds_and_recieves_extra_non_breaking_changes_from_
12121212 "raw": {"successfullyDeletedFileIds": ["fake_123"],"nonDeletedFields":["fake_222"]},
12131213 "httpStatusCode": 200,
12141214 "headers": {
1215- "Content-Type": "text/plain, application/json",
1215+ "Content-Type": "application/json",
12161216 "Authorization": "Basic ZmFrZTEyMjo=",
12171217 },
12181218 }
@@ -1304,7 +1304,7 @@ def test_file_delete_succeeds(self):
13041304
13051305 mock_response_metadata = {
13061306 "headers": {
1307- "Content-Type": "text/plain, application/json",
1307+ "Content-Type": "application/json",
13081308 "Authorization": "Basic ZmFrZTEyMjo=",
13091309 },
13101310 "httpStatusCode": 204,
@@ -1750,7 +1750,7 @@ def test_update_file_details_succeeds_with_id(self):
17501750 )
17511751 mock_response_metadata = {
17521752 "headers": {
1753- "Content-Type": "text/plain, application/json",
1753+ "Content-Type": "application/json",
17541754 "Authorization": "Basic ZmFrZTEyMjo=",
17551755 },
17561756 "http_status_code": 200,
@@ -1889,7 +1889,7 @@ def test_update_file_publish_status_succeeds_(self):
18891889 )
18901890 mock_response_metadata = {
18911891 "headers": {
1892- "Content-Type": "text/plain, application/json",
1892+ "Content-Type": "application/json",
18931893 "Authorization": "Basic ZmFrZTEyMjo=",
18941894 },
18951895 "http_status_code": 200,
@@ -2228,7 +2228,7 @@ def test_get_file_versions_succeeds_with_id(self):
22282228 ],
22292229 "http_status_code": 200,
22302230 "headers": {
2231- "Content-Type": "text/plain, application/json",
2231+ "Content-Type": "application/json",
22322232 "Authorization": "Basic ZmFrZTEyMjo=",
22332233 },
22342234 }
@@ -2338,7 +2338,7 @@ def test_get_file_version_details_succeeds_with_id(self):
23382338 resp = self.client.get_file_version_details(self.file_id, self.version_id)
23392339 mock_response_metadata = {
23402340 "headers": {
2341- "Content-Type": "text/plain, application/json",
2341+ "Content-Type": "application/json",
23422342 "Authorization": "Basic ZmFrZTEyMjo=",
23432343 },
23442344 "http_status_code": 200,
@@ -2471,7 +2471,7 @@ def test_delete_file_version_succeeds(self) -> None:
24712471
24722472 mock_response_metadata = {
24732473 "headers": {
2474- "Content-Type": "text/plain, application/json",
2474+ "Content-Type": "application/json",
24752475 "Accept-Encoding": "gzip, deflate",
24762476 "Authorization": "Basic ZmFrZTEyMjo=",
24772477 },
@@ -2546,7 +2546,7 @@ def test_copy_file_succeeds(self) -> None:
25462546
25472547 mock_response_metadata = {
25482548 "headers": {
2549- "Content-Type": "text/plain, application/json",
2549+ "Content-Type": "application/json",
25502550 "Accept-Encoding": "gzip, deflate",
25512551 "Authorization": "Basic ZmFrZTEyMjo=",
25522552 },
@@ -2592,7 +2592,7 @@ def test_copy_file_succeeds_without_include_file_versions(self) -> None:
25922592
25932593 mock_response_metadata = {
25942594 "headers": {
2595- "Content-Type": "text/plain, application/json",
2595+ "Content-Type": "application/json",
25962596 "Accept-Encoding": "gzip, deflate",
25972597 "Authorization": "Basic ZmFrZTEyMjo=",
25982598 },
@@ -2673,7 +2673,7 @@ def test_move_file_succeeds(self) -> None:
26732673 )
26742674 mock_response_metadata = {
26752675 "headers": {
2676- "Content-Type": "text/plain, application/json",
2676+ "Content-Type": "application/json",
26772677 "Accept-Encoding": "gzip, deflate",
26782678 "Authorization": "Basic ZmFrZTEyMjo=",
26792679 },
@@ -2763,7 +2763,7 @@ def test_rename_file_succeeds_with_purge_cache_false(self) -> None:
27632763
27642764 mock_response_metadata = {
27652765 "headers": {
2766- "Content-Type": "text/plain, application/json",
2766+ "Content-Type": "application/json",
27672767 "Accept-Encoding": "gzip, deflate",
27682768 "Authorization": "Basic ZmFrZTEyMjo=",
27692769 },
@@ -2815,7 +2815,7 @@ def test_rename_file_succeeds_with_purge_cache(self) -> None:
28152815
28162816 mock_response_metadata = {
28172817 "headers": {
2818- "Content-Type": "text/plain, application/json",
2818+ "Content-Type": "application/json",
28192819 "Accept-Encoding": "gzip, deflate",
28202820 "Authorization": "Basic ZmFrZTEyMjo=",
28212821 },
@@ -2859,7 +2859,7 @@ def test_rename_file_succeeds(self) -> None:
28592859 )
28602860 mock_response_metadata = {
28612861 "headers": {
2862- "Content-Type": "text/plain, application/json",
2862+ "Content-Type": "application/json",
28632863 "Accept-Encoding": "gzip, deflate",
28642864 "Authorization": "Basic ZmFrZTEyMjo=",
28652865 },
@@ -2966,7 +2966,7 @@ def test_restore_file_version_succeeds(self) -> None:
29662966
29672967 mock_response_metadata = {
29682968 "headers": {
2969- "Content-Type": "text/plain, application/json",
2969+ "Content-Type": "application/json",
29702970 "Accept-Encoding": "gzip, deflate",
29712971 "Authorization": "Basic ZmFrZTEyMjo=",
29722972 },
0 commit comments