100 Continue
Açıklaması şöyle
The correct status code to use here is without a doubt 301 Moved Permanently.
101 Switching Protocols is an internal status code that a server generally uses to automatically negotiate certain types of connections. It's not used when changing the URL from http to https. If you're curious about how it works, you can read about the 101 status code and the protocol upgrade mechanism on MDN, but you'll never need to know about it as a webmaster.
As a general rule, you should never directly use 100 or 200 series status codes unless you are actually developing web server software. The 300 and 400 series codes (especially 301, 302, and 404) are the ones you'll want to pay attention to when running a simple website.
102 Processing
Açıklaması şöyle. Sanırım uzun süren işlemlerde kullanılır.
Açıklaması şöyle. Sanırım uzun süren işlemlerde kullanılır.
103 Early HintsThe 102 (Processing) status code is an interim response used to inform the client that the server has accepted the complete request, but has not yet completed it. This status code SHOULD only be sent when the server has a reasonable expectation that the request will take significant time to complete. As guidance, if a method is taking longer than 20 seconds (a reasonable, but arbitrary value) to process the server SHOULD return a 102 (Processing) response. The server MUST send a final response after the request has been completed.Methods can potentially take a long period of time to process, especially methods that support the Depth header. In such cases the client may time-out the connection while waiting for a response. To prevent this the server may return a 102 (Processing) status code to indicate to the client that the server is still processing the method.
Açıklaması şöyle
Normally, when the browser sends a request, the server will receive it and process the request in less than a second and send an HTTP 200 OK response ...Using the HTTP 103 Early Hints, however, there is room to improve the page rendering speed.Once the server is updated with the HTTP 103 feature, when a browser sends a request, if the server knows that the content needs resources like style.css, script.js, and so on, then it will hint (respond) with the HTTP 103 Early Hints response to the browser to preload the content ...Then, once the server processed the complete response, it will send normal HTTP 200 OK to the browser.This process will help in the page rendering speed as the browser preloads the content ahead.
Hiç yorum yok:
Yorum Gönder