Skip to content
Sharp

HTTP Integration · interview question

What does a strong engineer do when reasoning through timeouts and retries code?

Multiple choiceMediumchapter-12-curatedpremiumhttp-integrationtimeouts-and-retries
python
def call_partner(client: httpx.Client) -> dict:
    response = client.get("/orders", timeout=5.0)
    response.raise_for_status()
    return response.json()
Choose one answer
Answer and explanation

Correct answer

A. Narrate the data shape, the state changes, and the exact rule order step by step.

Why

Interviewers often use simple code to test whether you can reason through execution without bluffing.

Test yourself on HTTP Integration

A free test with instant, explained results. No account needed.

Start free test
All HTTP Integration questions →