Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Should Botie Repeat the Request, or Find Out What Happened?

A Lost Answer Leaves the Caller Unsure What Happened

BOTIE

When one program calls another over a network, performing an action and receiving its answer are separate events. A training service can create a job just before the connection fails. The caller needs a way to describe that uncertainty, because repeating the command may create another job. A sentence written for a person is difficult for a program to use reliably: its wording can change without the failure changing.

HTTP, the request-and-response protocol used by web services, supplies status and method rules. RFC 9457, published in 2023 as a replacement for RFC 7807, adds a standard format for more specific problem details. A stable problem type lets the client recognise the category while the explanatory wording improves. We will use short outcome codes to decide what can happen next, and keep a lost answer separate from a confirmed failure.

Sources for this history