DevKits
205

Reset Content

2xx Success

Last updated:

The server has fulfilled the request and asks the user agent to reset the view (e.g. clear a form).

Description

Like 204, but hints that the client's document view (typically a form) should be reset. Rarely used in modern SPAs.

When to use

Legacy — mostly used with form-based multi-entry data collection (e.g. warehouse terminals).

Specification

RFC 9110 §15.3.6

Examples

HTTP response
HTTP/1.1 205 Reset Content
Content-Type: application/json

{"ok":true}
Node.js (Express)
res.status(205).json({ error: "Reset Content" });
Go (net/http)
w.WriteHeader(http.Status205)
Python (Flask)
return jsonify({"error": "Reset Content"}), 205

Related status codes

All 2xx codes