205 Reset Content
The request succeeded and the client should reset the document view that originated the request, such as clearing a form.
Defined in RFC 9110 §15.3.6
What 205 means
HTTP 205 Reset Content tells the client that the request succeeded and, unlike 204, that the user agent should reset whatever view or input generated the request back to its original state. The canonical example is a form submission: after a successful 205 response, a browser is expected to clear the fields the user filled in, ready for another entry, rather than leaving the submitted values on screen. Like 204, the response carries no body, since there is nothing for the client to display beyond resetting its own state.
In practice 205 is rarely seen because most web applications handle form resets client-side with JavaScript rather than relying on the browser's built-in behavior for this status code, and browser support for actually performing the reset has historically been inconsistent. It shows up more often in specialized clients, internal tools, or protocols built directly on HTTP where the semantics of resetting an input view are well understood by both ends, rather than in typical consumer-facing web applications.
Because so few HTTP clients implement the reset behavior automatically, API designers should not depend on 205 alone to clear client state; explicit application logic that reacts to a successful response is far more reliable across browsers, mobile clients, and API consumers. Where 205 is used, it should be reserved for exactly the case the spec describes, confirming success while asking the client to discard the input that produced the request, not as a general substitute for 204.
Common causes
- A form submission succeeded and the server wants the client to clear the input fields for a new entry.
- A client-driven workflow submitted data and expects the originating view to reset rather than display a result.
- A specialized or internal client implements the reset behavior explicitly and relies on 205 to trigger it.
How to fix a 205
If you are the client (browser user or API caller)
- Implement the reset behavior explicitly in application code after a successful submission, rather than assuming the browser will do it automatically on 205.
- Treat 205 as equivalent to success with no body, the same as 204, if your client does not implement the automatic reset.
If you run the server
- Only return 205 when you specifically want the client to clear the originating input view; use 204 for a generic empty success response.
- Do not include a response body with 205, since clients are not expected to render anything beyond resetting their view.
- Document the expected client behavior for 205 clearly if consumers are not standard browsers, since automatic reset support varies widely.
Example
POST /support/tickets/new HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
subject=Login+issue&body=Cannot+reset+my+password
HTTP/1.1 205 Reset ContentTry it live
Our free status responder returns a real HTTP 205 you can point tests, monitors or a browser at.
GET https://mcp.httpstatus.com/status/205