Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
HTTPX
What does timeout=5.0 guarantee for a normal HTTPX request?
from HTTPX
HTTPX 0.28.1 / Python 3.14
intermediate
1 min
What does timeout=5.0 guarantee for a normal HTTPX request?
Each network timeout phase is bounded, but the full operation may exceed five seconds.
The complete request, including all retries, ends within exactly five seconds.
Only opening the TCP connection is bounded to five seconds.
The server is asked to cancel its work after five seconds.
Check
Ask AI about this kata
Report an error
previous kata
Why should a streaming response normally be used as a context manager?
Quiz
A new version is available
Reload