Skip to content

Commit d40491e

Browse files
committed
fix: Don't manually set multipart/form-data content-type
1 parent 7903fcb commit d40491e

19 files changed

+20
-21
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def _get_kwargs(
1313
*,
1414
body: JsonLikeBody,
1515
) -> Dict[str, Any]:
16-
headers = {}
16+
headers: Dict[str, Any] = {}
1717

1818
_kwargs: Dict[str, Any] = {
1919
"method": "post",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _get_kwargs(
2020
PostBodiesMultipleFilesBody,
2121
],
2222
) -> Dict[str, Any]:
23-
headers = {}
23+
headers: Dict[str, Any] = {}
2424

2525
_kwargs: Dict[str, Any] = {
2626
"method": "post",

end_to_end_tests/golden-record/my_test_api_client/api/location/get_location_header_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _get_kwargs(
1919
int_enum_header: Union[Unset, GetLocationHeaderTypesIntEnumHeader] = UNSET,
2020
string_enum_header: Union[Unset, GetLocationHeaderTypesStringEnumHeader] = UNSET,
2121
) -> Dict[str, Any]:
22-
headers = {}
22+
headers: Dict[str, Any] = {}
2323
if not isinstance(boolean_header, Unset):
2424
headers["Boolean-Header"] = "true" if boolean_header else "false"
2525

end_to_end_tests/golden-record/my_test_api_client/api/naming/post_naming_property_conflict_with_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
*,
1717
body: PostNamingPropertyConflictWithImportBody,
1818
) -> Dict[str, Any]:
19-
headers = {}
19+
headers: Dict[str, Any] = {}
2020

2121
_kwargs: Dict[str, Any] = {
2222
"method": "post",

end_to_end_tests/golden-record/my_test_api_client/api/parameter_references/get_parameter_references_path_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
header_param: Union[Unset, str] = UNSET,
1717
cookie_param: Union[Unset, str] = UNSET,
1818
) -> Dict[str, Any]:
19-
headers = {}
19+
headers: Dict[str, Any] = {}
2020
if not isinstance(header_param, Unset):
2121
headers["header param"] = header_param
2222

end_to_end_tests/golden-record/my_test_api_client/api/parameters/get_same_name_multiple_locations_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def _get_kwargs(
1515
param_header: Union[Unset, str] = UNSET,
1616
param_cookie: Union[Unset, str] = UNSET,
1717
) -> Dict[str, Any]:
18-
headers = {}
18+
headers: Dict[str, Any] = {}
1919
if not isinstance(param_header, Unset):
2020
headers["param"] = param_header
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _get_kwargs(
1414
*,
1515
body: AModel,
1616
) -> Dict[str, Any]:
17-
headers = {}
17+
headers: Dict[str, Any] = {}
1818

1919
_kwargs: Dict[str, Any] = {
2020
"method": "post",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _get_kwargs(
1414
*,
1515
body: AModel,
1616
) -> Dict[str, Any]:
17-
headers = {}
17+
headers: Dict[str, Any] = {}
1818

1919
_kwargs: Dict[str, Any] = {
2020
"method": "post",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def _get_kwargs(
1313
*,
1414
body: File,
1515
) -> Dict[str, Any]:
16-
headers = {}
16+
headers: Dict[str, Any] = {}
1717

1818
_kwargs: Dict[str, Any] = {
1919
"method": "post",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def _get_kwargs(
1313
*,
1414
body: AFormData,
1515
) -> Dict[str, Any]:
16-
headers = {}
16+
headers: Dict[str, Any] = {}
1717

1818
_kwargs: Dict[str, Any] = {
1919
"method": "post",

0 commit comments

Comments
 (0)