Visual RFC.
ALL RFCs / RFC 7240
Read the RFC ↗
RFC 7240 / HTTP PREFER

Wait without a deadline guarantee

03

wait expresses a preferred processing interval in seconds after server receipt. respond-async asks for asynchronous handling: reply before the work finishes. Its completion protocol is not defined here.

RFC 7240 · § 4.3EXAMPLE
4 / 4
Wait without a deadline guaranteewait expresses a preferred processing interval in seconds after server receipt. respond-async asks for asynchronous handling: reply before the work finishes. Its completion protocol is not defined here. If the server spends ten seconds before responding and the return path takes two more, the client sees fourteen seconds in this example. This is not an end-to-end deadline; a server may ignore wait and take longer.Receipt starts the processing interval2s out10s processing2s backClient elapsed: 14 secondsNot an end-to-end deadlineAbandoning does not specify cancellationRFC7240 · chapter3 · state4 · illustrative server policy
04
Count the whole wait

If the server spends ten seconds before responding and the return path takes two more, the client sees fourteen seconds in this example. This is not an end-to-end deadline; a server may ignore wait and take longer.

Source for this drawing: RFC 7240 · Read RFC section 4.3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

wait uses a non-negative decimal number of seconds; verified erratum 4316 corrects its reference to delay-seconds.

  • wait uses a non-negative decimal number of seconds; verified erratum 4316 corrects its reference to delay-seconds.
  • Servers or proxies can choose asynchronous processing, for example returning 202 Accepted. Both preferences may be ignored.
  • Network and intermediary time adds to server processing time. A client may abandon a slow request; this does not specify server-side cancellation.
DETAILS

Examples show one chosen server policy. Preferences are optional; consult the linked requirements, errata and RFC 8144 WebDAV update.

Read the RFC section ↗

All chapters in RFC 7240

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗