Skip to content

103 Early Hints — Meaning, Common Causes & How to Fix

103 1xx Informational RFC 8297

103 Early Hints means: An informational response that lets the server send preliminary Link headers (preload, preconnect hints) while the final response is still being generated. Browsers can start fetching critical resources before the HTML itself arrives. 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 103 when a server pushes early hints for stylesheet/script preload while rendering a slow page; a cdn emits 103 with preconnect hints for third-party origins; an edge worker sends link headers ahead of a compute-heavy origin response. On the client side, browsers handle 103 automatically; HTTP clients that do not understand it must ignore interim responses and keep reading for the final status. On the server side, send 103 only with Link headers that are genuinely useful early; ensure proxies forward interim responses rather than buffering them.

Advertisement
Ad slot · ref-top

When 103 happens

  • A server pushes Early Hints for stylesheet/script preload while rendering a slow page
  • A CDN emits 103 with preconnect hints for third-party origins
  • An edge worker sends Link headers ahead of a compute-heavy origin response

How to fix it

On the client

Browsers handle 103 automatically; HTTP clients that do not understand it must ignore interim responses and keep reading for the final status.

On the server

Send 103 only with Link headers that are genuinely useful early; ensure proxies forward interim responses rather than buffering them.

Should you retry?

Not final — hints only; the real response follows.

Debugging steps

When 103 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 server pushes early hints for stylesheet/script preload while rendering a slow page. 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

Early Hints only pays off when the final response is slow enough to hide the preload latency, and when CDNs and proxies actually forward interim responses instead of buffering them.

Examples

Raw HTTP
HTTP/1.1 103 Early Hints
Link: </style.css>; rel=preload; as=style

curl
curl -i https://api.example.com/v1/resource   # observe the 103 response and its headers
JavaScript (fetch)
const res = await fetch("https://api.example.com/v1/resource");
if (res.ok) {
  const data = await res.json(); // 103 Early Hints
  return data;
}
Python (requests)
import requests

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

Frequently asked questions

Does Early Hints improve Core Web Vitals?

It can: preloading CSS/JS during server think-time reduces LCP. Gains depend on how slow the final response is and whether every hop forwards 103.

Do I need to change my fetch code for 103?

No. It is transparent to application code; only low-level HTTP stacks and intermediaries need to tolerate interim responses.

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 →