HTTP/2xx (Success)
205 Reset Content
The server processed the request and asks the client to reset the document view (e.g. clear a form).
❓ Why does this happen?
Rarely used; returned after form submissions that should clear user input.
✅ How to fix it
Clear the form state in the client. Do not send a response body with 205.
Return or handle 205 in your stack
// app/api/resource/route.ts
export function GET() {
// 205 must not include a response body
return new Response(null, {
status: 205
});
}Live 205 mock endpoint
Point your app, tests, or retry logic at this free public URL to reproduce a real 205 response (CORS enabled, optional ?delay=ms up to 5000).
https://castov.com/api/mock/205Frequently Asked Questions
What does HTTP Status 205 mean?
Why am I getting a 205 status code?
How do I fix a 205 Reset Content error?
How can I test how my app handles a 205 response?
Other 2xx status codes
Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.