Skip to content

100 Continue — Meaning, Common Causes & How to Fix

100 1xx Informational RFC 9110 §15.2.1

100 Continue means: The server has received the request headers and is telling the client to go ahead and send the body. It is an interim signal used with the Expect: 100-continue handshake so large uploads are not transmitted when the server would reject the headers anyway. Informational 1xx responses are interim signals sent before the final answer: they keep the client informed or coordinate a protocol switch while the real work continues. Application code rarely handles them directly because HTTP libraries absorb them, but intermediaries must forward them correctly or handshakes stall. In practice you will meet 100 when a client uploads a large payload with an expect: 100-continue header; curl automatically adds expect: 100-continue for bodies over 1 kb; an api gateway probes whether the origin will accept a big post before streaming it. On the client side, wait for the 100 response before streaming the body, or drop the Expect header if the server mishandles the handshake. Most HTTP libraries do this transparently. On the server side, ensure every hop (proxies, load balancers, origin) forwards or correctly answers Expect: 100-continue; a hop that ignores it causes multi-second upload stalls.

Advertisement
Ad slot · ref-top

When 100 happens

  • A client uploads a large payload with an Expect: 100-continue header
  • curl automatically adds Expect: 100-continue for bodies over 1 KB
  • An API gateway probes whether the origin will accept a big POST before streaming it

How to fix it

On the client

Wait for the 100 response before streaming the body, or drop the Expect header if the server mishandles the handshake. Most HTTP libraries do this transparently.

On the server

Ensure every hop (proxies, load balancers, origin) forwards or correctly answers Expect: 100-continue; a hop that ignores it causes multi-second upload stalls.

Should you retry?

Not a final response — keep reading the connection for the real status.

Debugging steps

When 100 appears unexpectedly, start by capturing the full exchange: 'curl -i' or the browser DevTools Network tab shows the exact status line and response headers, which often carry the real explanation. Interim responses are invisible to most high-level clients, so use curl -v or a raw socket to observe them; a missing 1xx usually means an intermediary swallowed it. For this code specifically, check whether the most common trigger applies to your situation: a client uploads a large payload with an expect: 100-continue header. Compare your exchange against the raw HTTP example above. If you operate the server, correlate the timestamp with application and proxy logs using the request id; if you are the client, verify the request shape against the API documentation before changing anything or retrying.

Notes & gotchas

The Expect: 100-continue handshake is hop-by-hop: every proxy between client and origin must understand it, and one ignorant hop turns an optimization into a one-second stall per upload.

Examples

Raw HTTP
HTTP/1.1 100 Continue

curl
curl -i -H "Expect: 100-continue" -H "Content-Type: application/json" --data-binary @payload.json https://api.example.com/v1/upload
JavaScript (fetch)
const res = await fetch("https://api.example.com/v1/resource");
if (res.ok) {
  const data = await res.json(); // 100 Continue
  return data;
}
Python (requests)
import requests

res = requests.get("https://api.example.com/v1/resource", timeout=10)
res.raise_for_status()
data = res.json()  # 100 Continue

Frequently asked questions

Is 100 Continue a final response?

No. It is informational; the final status (200, 417, 413...) arrives after the body is sent. Clients must keep reading the connection.

Why does my upload pause for a second before starting?

curl waits up to one second for a 100 Continue before sending the body anyway. Servers or proxies that swallow the Expect header cause that delay; remove the header or fix the hop.

Do I need to handle 1xx responses in my application code?

Usually no — HTTP clients and browsers process interim responses internally and surface only the final status. You care about 1xx when writing proxies, low-level sockets or debugging stalled handshakes.

Are 1xx responses errors?

No — they are progress and coordination signals, not failures. The final status arrives afterwards; treating an interim response as the answer is a low-level client bug.

Advertisement
Ad slot · ref-in-article

Try the JSON Validator

Check JSON syntax and locate errors by line and column.

Open tool →