diff --git a/comfy_api_nodes/apis/client.py b/comfy_api_nodes/apis/client.py index df8b36776..3300596b3 100644 --- a/comfy_api_nodes/apis/client.py +++ b/comfy_api_nodes/apis/client.py @@ -251,7 +251,7 @@ class ApiClient: files: Dict[str, Any], headers: Optional[Dict[str, str]] = None, ) -> Dict[str, Any]: - if headers: + if headers and "Content-Type" in headers: del headers["Content-Type"] return {