"Call to httpx without timeout" when httpx has timeout by default #1175
Closed
Description
Describe the bug
httpx library implements timeout by default : https://www.python-httpx.org/advanced/timeouts/ and release 1.7.10 introduces B113:request_without_timeout on httpx calls.
IMO, only calls specifying timeout=None
should raise an issue.
Reproduction steps
import httpx
client = httpx.AsyncClient()
bandit main.py
Expected behavior
bandit should not raise an issue in this case.
Bandit version
1.7.10
Python version
3.11
Activity