1xx Informational
Last updated Nov 19, 2024

What is HTTP Status Code 101? - Switching Protocols

Benjamin Bouchet
Get your free
API key now
4.8 from 1,863 votes
See why the best developers build on Abstract
START FOR FREE
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
No credit card required

The HTTP Status 100 (Switching Protocols) means that the client has asked the server to change protocols and the server has agreed to do so.

Note that when a Status 101 is returned the server must generate an Upgrade header in its response indicating which protocol it has switched to. Also note that the server should only accept switching protocols (and thus return Status 101) when it's advantageous to do so, such as when it upgrades to a newer version of HTTP.

Get your free
API
key now
4.8 from 1,863 votes
See why the best developers build on Abstract
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
No credit card required