205 Reset Content means: The request succeeded and the server instructs the client to reset the document view that caused the request — for example, clear a form after submission. Like 204 it carries no body, but it adds a UI-level directive. Success 2xx codes confirm the request was received, understood and accepted. The family distinguishes what kind of success happened — content returned, resource created, work queued, or nothing to return — and choosing the precise code is part of a well-designed API contract that clients and caches can rely on. In practice you will meet 205 when a data-entry form is submitted and should be cleared for the next entry; a kiosk or terminal app resets its input view after a transaction; a server wants the client to discard the current document state. On the client side, reset the originating form or view; do not expect a body. Support is mostly relevant to browser form flows. On the server side, use 205 only when a view reset is genuinely intended; for plain 'success, no body' prefer 204, which is far more widely understood.
When 205 happens
- A data-entry form is submitted and should be cleared for the next entry
- A kiosk or terminal app resets its input view after a transaction
- A server wants the client to discard the current document state
How to fix it
On the client
Reset the originating form or view; do not expect a body. Support is mostly relevant to browser form flows.
On the server
Use 205 only when a view reset is genuinely intended; for plain 'success, no body' prefer 204, which is far more widely understood.
Should you retry?
Success — nothing to retry.
Debugging steps
When 205 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. Success codes rarely need debugging, but verify the body semantics match the code — a 200 wrapping an error payload is an API design bug, not a transport problem. For this code specifically, check whether the most common trigger applies to your situation: a data-entry form is submitted and should be cleared for the next entry. 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
205 is a legacy form-workflow directive; modern single-page apps reset their own state and almost never need the server to instruct a view reset.
Examples
HTTP/1.1 205 Reset Content
curl -i https://api.example.com/v1/resource # observe the 205 response and its headers const res = await fetch("https://api.example.com/v1/resource");
if (res.status === 205) {
// Reset Content: no body arrives — reuse cached state or treat as success.
return;
} import requests
res = requests.get("https://api.example.com/v1/resource", timeout=10)
res.raise_for_status()
data = res.json() # 205 Reset Content Frequently asked questions
How common is 205 in modern APIs?
Rare. It dates from form-heavy workflows; most APIs use 200/204 and let the client decide what to reset.
Does 205 allow a response body?
No, same rule as 204: the response must not include content.
Which 2xx code should my API return?
200 for a normal result, 201 when a resource was created (with Location), 202 when work is queued, 204 when there is nothing to return. Precision here makes clients, caches and monitors behave correctly.
Can I treat any 2xx as interchangeable success?
For 'did it work' yes, but the distinctions matter operationally: 201 means a resource exists, 202 means work is still pending, 204 means there is no body to parse. Code that ignores them breaks.
Try the JSON Validator
Check JSON syntax and locate errors by line and column.