205Status code
2xxSuccess
NoCacheable by default
RFC 9110 §15.3.6Defined in
Common causes
- Form submission after which the input should be emptied
What to do
Rarely used by browsers in practice.
Example response
HTTP/1.1 205 Reset Content
Content-Type: application/json
{"ok":true}
Returning 205 in code
Express res.status(205).json({ … });
Flask return jsonify(…), 205
PHP http_response_code(205);
Go w.WriteHeader(205)