diff --git a/src/crawlee/http_clients/_impit.py b/src/crawlee/http_clients/_impit.py index cf22f7ad78..0eec36a956 100644 --- a/src/crawlee/http_clients/_impit.py +++ b/src/crawlee/http_clients/_impit.py @@ -193,6 +193,7 @@ async def stream( url=url, content=payload, headers=dict(headers) if headers else None, + timeout=timeout.total_seconds() if timeout else None, stream=True, ) try: