205
Success
205 Reset Content
Request was successful; the client should reset the document view (e.g. clear a form).
Description
205 Reset Content tells the client that the request was processed successfully and the client should reset its current document view. The most common use case is web forms: after submission, the browser clears the form fields so the user can enter new data.
Unlike 204 No Content, a 205 response explicitly instructs the client to reset the UI state. The response must not include a body.
Common Causes
- Form submission that should clear inputs on success
- Data entry workflows where immediate re-use is expected
- Legacy web app patterns before JavaScript form handling
How to Fix
- Use 205 instead of 204 when you want the browser to reset form fields
- In modern SPAs, handle UI reset in JavaScript instead of relying on 205
- Ensure the response body is empty (required by spec)
Check your website's HTTP status code
Check now →