BloggingBIG Logo
Search
  • Blogs
  • How we work
  • Write Guest Post
Get started

HTTP Status Code 205 Reset Content

by Kedar Dangal

  • 3 min read
    • HTTP Status
Share this content
HTTP Status Code 205 Reset Content image

Navigation

  • What does HTTP status code 205 Reset Content mean? 
  • Status
  • 205 Code References
  • Specifications
  • Browser Compatibility
  • FAQs
    • What is status code 205?
  • Conclusion

What does HTTP status code 205 Reset Content mean? 

The HTTP status code 205 reset content indicates that the server is requesting that the client reset the document from which the original request was made.

If a user submits a form, a status code of 205 indicates that the server is requesting the browser to clear the form. 

205 Reset Content is somewhat analogous to 204 No Content. It’s designed specifically for hypertext applications.

A server must not produce a payload in a 205 response since the 205 status code suggests that no more material will be given. In other words, for a 205 answer, a server must execute one of the following:

  • include a Content-Length header field with a value of 0 to indicate a zero-length body for the response; 
  • include a Transfer-Encoding header field with a value of chunked and a message body consisting of a single zero-length chunk; or 
  • close the connection immediately after sending the blank line terminating the header section to indicate a zero-length payload for the response.

For example, if a user fills out an HTML form and submits it to the server. If the server returns a 204, the browser can respond by informing the user that the form submission was successful rather than refreshing the page.

If the server sent back a 205, a browser can reset the form, similar to a reset button an HTML form:

<input type="reset" />

Example response:

HTTP/1.1 205 Reset Content 
Server: foo-bar/1.2 
Connection: close

Status

205 Reset Content

205 Code References

Rails HTTP Status Symbol:reset_content
Go HTTP Status Constant http.StatusResetContent
Symfony HTTP Status Constant Response::HTTP_RESET_CONTENT
Python2 HTTP Status Constant httplib.RESET_CONTENT
Python3+ HTTP Status Constant http.client.RESET_CONTENT
Python3.5+ HTTP Status Constant http.HTTPStatus.RESET_CONTENT

Specifications

SpecificationTitle
RFC 7231, section 6.3.6: 205 Reset ContentHypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser Compatibility

Browser205 Reset Content
Firefox 2.0.0.14treated like 204
Safari 3.1.1treated like 200
Opera 9.27treated like 200
Internet Explorer 7 (7.0.5730.13)treated like 200
Internet Explorer 8 beta 1 (8.0.6001.17184)treated like 200
Firefox 3 beta 5treated like 204

Related Post: HTTP Status Code 204 

FAQs

What is status code 205?

The 205 status code indicates that the server is requesting that the client reset the document from which the original request was made.

Credit: Web Dev Simplified

Conclusion

I hope this article was able to help you with your doubts and queries related to HTTP status code 205 reset content. Still, if there are any questions you have that are unanswered, feel free to ask them in the comment section, we would be happy to assist you. Thank you.

Share
Tweet
Share
0 Shares
Kedar Dangal image

Kedar Dangal

Making a difference, Adding the sum.

Be first to comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

More from HTTP Status

HTTP Status Code 499 Client Closed Request image

HTTP Status Code 499 Client Closed Request

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 431 Request Header Fields Too Large image

HTTP Status Code 431 Request Header Fields Too Large

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 429-Too Many Request image

HTTP Status Code 429-Too Many Request

Saurabh Chalise image

by Saurabh Chalise

  • 4 min read
    • HTTP Status

Quick links

  • Siteground black friday deals
  • Wp engine black friday deals
  • Greengeeks black friday deals
  • Tmd hosting black friday deals
  • Fastcomet black friday deals
  • Hostwinds black friday deals
  • bluehost black friday
  • Namecheap black friday deals
  • Ionos 1 & 1 black friday deals
  • Hostgator black friday deals
  • ipage black friday deals
  • wpx hosting black friday deals
BloggingBIG logo
  • About
  • DISCLAIMER
  • Disclouser for Blogging BIG
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
Developed by Fnclick
Back To Top