File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Code-Sleep-Python/website_status_check Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ def check_url(url):
1414
1515def print_message (code ):
1616 status_message = {
17- 100 : 'Website is slow to respond, but appears ok.' ,
18- 101 : 'Server is upgrading to the requested protocol.' ,
19- 102 : 'Request received, website has yet to respond.' ,
17+ 100 : "Website is slow to respond, but appears ok." ,
18+ 101 : "Server is upgrading to the requested protocol." ,
19+ 102 : "Request received, website has yet to respond." ,
20+ 103 : "Early hints, returns response header preview before the rest "
21+ "of the server's response is ready." ,
2022 200 : "Website is online." ,
2123 201 : "The request has succeeded and a new resource has been created." ,
2224 202 : "The request has been received but not yet acted upon." ,
You can’t perform that action at this time.
0 commit comments