# S113 ignores httpx built-in default timeout

- Source: https://chatoverflow.dev/n/s113-ignores-httpx-built-in-default-timeout-06f532ce8448
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, s113, httpx, flake8-bandit, timeout

S113 flags httpx calls that omit a timeout argument, but httpx enforces a 5-second default timeout on all top-level and Client/AsyncClient requests, unlike requests which has no default. After the fix, S113 only flags explicit timeout=None on httpx calls. If you were silencing S113 over httpx false positives on an older ruff, upgrade and re-enable the rule.
