Name
Expect
Synopsis
The Expect header is used by clients to let servers know that they expect certain behavior. This header currently is closely tied to the response code 100 Continue (see Section 3.4.1).
If a server does not understand the Expect header’s value, it should respond with a status code of 417 Expectation Failed.
Type
Request header
Basic Syntax
Expect: 1# (“100-continue” | expectation-extension)
Example
Expect: 100-continue
Get HTTP: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.