Skip to content

Commit df37219

Browse files
committed
Regen snapshots
1 parent fb9d26e commit df37219

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

end_to_end_tests/golden-record/my_test_api_client/api/bodies/post_bodies_multiple.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,24 @@ def _get_kwargs(
2727
_kwargs["json"] = body.to_dict()
2828

2929
headers["Content-Type"] = "application/json"
30+
3031
if isinstance(body, File):
3132
if not isinstance(body, Unset):
3233
_kwargs["content"] = body.payload
3334

3435
headers["Content-Type"] = "application/octet-stream"
36+
3537
if isinstance(body, PostBodiesMultipleDataBody):
3638
if not isinstance(body, Unset):
3739
_kwargs["data"] = body.to_dict()
3840

3941
headers["Content-Type"] = "application/x-www-form-urlencoded"
42+
4043
if isinstance(body, PostBodiesMultipleFilesBody):
4144
if not isinstance(body, Unset):
4245
_kwargs["files"] = body.to_multipart()
4346

44-
headers["Content-Type"] = "multipart/form-data"
47+
headers["Content-Type"] = "multipart/form-data; boundary=+++"
4548

4649
_kwargs["headers"] = headers
4750
return _kwargs

end_to_end_tests/golden-record/my_test_api_client/api/tests/upload_file_tests_upload_post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def _get_kwargs(
2323

2424
_kwargs["files"] = body.to_multipart()
2525

26+
headers["Content-Type"] = "multipart/form-data; boundary=+++"
27+
2628
_kwargs["headers"] = headers
2729
return _kwargs
2830

end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/tests/post_user_list.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ def _get_kwargs(
2424
if not isinstance(body, Unset):
2525
_kwargs["files"] = body.to_multipart()
2626

27+
headers["Content-Type"] = "multipart/form-data; boundary=+++"
28+
2729
_kwargs["headers"] = headers
2830
return _kwargs
2931

integration-tests/integration_tests/api/body/post_body_multipart.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def _get_kwargs(
2525
if not isinstance(body, Unset):
2626
_kwargs["files"] = body.to_multipart()
2727

28+
headers["Content-Type"] = "multipart/form-data; boundary=+++"
29+
2830
_kwargs["headers"] = headers
2931
return _kwargs
3032

0 commit comments

Comments
 (0)