CodeNewbie Community 🌱

Cover image for 1xx - Informational
Aadarsh Kannan
Aadarsh Kannan

Posted on • Updated on

1xx - Informational

A 1xx status code is a provisional response from a server. It consists of the Status-Line and optional headers and is terminated by an empty line. There are no required headers for this class of status code.

100 Continue

It's an informational status response code that indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.

101 Switching Protocols

If the server needs to upgrade the connection, it sends back a 101 status with an Upgrade header that specifies the protocol(s) being switched to. If it does not need to upgrade, it ignores the Upgrade header and sends back a regular response (ex,200 OK).

102 Processing

This code indicates that the server has received and is processing the request, but no response is available yet.

As guidance, if a method is taking longer than 20 sec (a reasonable, but arbitrary value) to process the server should return a 102 response.

103 Early Hints

The HTTP 103 Early Hints information response status code is a code that is mostly used with the Link header. This header allows the user agent to start preloading resources while the server is still preparing a response.

HTTP response status codes - HTTP | MDN

HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:

favicon developer.mozilla.org

Thanks for the read and stay tuned!
- Aadarsh K

Top comments (1)

Collapse
 
lgft55 profile image
lgft55

Information serves as a catalyst for innovation and creativity, inspiring new ideas and solutions to existing problems website.