204No Content
The request succeeded and there is deliberately nothing to send back.
Browse all HTTP status codesWhen you see it
The right answer to a DELETE that worked, or a save that has nothing to report. The client should keep showing whatever it was showing; there is no new document to render.
A 204 must not carry a body. Some clients will ignore one if you send it and others will treat the response as malformed, so sending content with a 204 produces bugs that only appear on certain platforms.
Often confused with
200 OK
200 with an empty body and 204 look similar but say different things. 204 states that emptiness is the intended answer; an empty 200 leaves the client guessing whether something went missing.
205 Reset Content
205 additionally asks the client to reset the form or view it was showing. 204 asks it to leave everything alone.
Look up another one
Open
Type a code, a partial code like 40, or any word from a name or description. Everything runs in your browser.
69 of 69 codes. Click a row to copy it.