The HTTP 205 status code stands for "Reset Content". It is a successful response indicating that the request was processed successfully, but the client should reset the view or clear the input fields.

When is HTTP 205 Used?

  • Used when a form submission is successful, and the client should clear input fields for a new entry.
  • Common in web forms, user interfaces, and API responses where resetting the state is needed.

Example Scenarios

  • Form Submission – After submitting a form, the fields should be cleared.
  • Logout Action – A logout request succeeds, and input fields should reset.
  • UI Refresh – A request completes, and the UI should be reset for new input.

Example

Client Request (Submitting a Form)

  
    POST /submit-form HTTP/1.1
    Host: example.com
    Content-Type: application/x-www-form-urlencoded

    name=John&message=Hello
  

Server Response (Reset Fields)

  
    HTTP/1.1 205 Reset Content
  

Summary

HTTP 205 means the request was successful, and the client should reset the input fields or UI elements, preparing for a new action.