204 No Content
2xx Success
Success, but there is nothing to send back — handy after a save when the page should not change.
| On the wire | HTTP/1.1 204 No Content |
|---|---|
| Code | 204 |
| Is it an error | No — not an error |
| Category | 2xx Success |
The request went through.
How to read this
- The first digit of a status code carries the meaning: 4 means the request, 5 means the server.
- 404 means "not there"; 403 means "there, but not for you". Swapping them makes debugging slower.
- Header names are case-insensitive — Content-Type and content-type are the same header.
- Caching and CORS problems usually come down to one header line, visible in the browser’s network tab.
Frequently asked questions
Q. What does HTTP 204 No Content mean?
Success, but there is nothing to send back — handy after a save when the page should not change.
Q. What does 204 No Content look like on the wire?
It travels as HTTP/1.1 204 No Content
Q. Is 204 No Content an error?
No — it is part of a normal exchange, not a failure.
Q. What group does 204 No Content belong to?
The 2xx success group; the rest of that group is listed further down.