HTTP 205 Reset Content
The server has fulfilled the request and the client should reset the document view.
2xx Success
205
Reset Content
Description
The 205 Reset Content status code indicates that the server has fulfilled the request and desires that the user agent reset the document view, which caused the request to be sent, to its original state as received from the origin server. This response is intended to support a common data entry use case where the user receives content that supports data entry (a form, notepad, canvas, etc.), enters or manipulates data in that space, causes the entered data to be submitted in a request, and then the data entry mechanism is reset for the next entry so that the user can easily initiate another input action. The server must not generate a payload in a 205 response.
When Is It Used?
Used after a form submission to tell the browser to clear the form fields so the user can enter new data. This is useful for data entry workflows where users submit multiple entries in sequence.
Example Response
HTTP/1.1 205 Reset Content
Content-Length: 0