- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 205 Reset Content
205 Reset Content
The request succeeded, and the client should reset the form or view it came from. No body is sent with it.
- Class
- 2xx Successful. The request was received, understood and accepted.
- Defined in
- RFC 9110
When a server sends it
It was meant for data entry: after a form is submitted the server answers 205, so that the form is cleared for the next record. It is rare. Pages clear their own forms with JavaScript.
What to do with it
Treat it as success without content. Whether a browser really resets anything is not something to rely on. If you build an API and only want to say "done, nothing to return", 204 is the code clients expect.
Not to be confused with
| 204 No Content | Success without a body, and the view stays as it is. |
|---|
All codes are on the list of HTTP status codes, which can be searched by number and by word.