Skip to content

Commit 51505e8

Browse files
authored
added new status 103 to status message (prateekiiest#195)
1 parent 692494c commit 51505e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Code-Sleep-Python/website_status_check/website_status_check.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ def check_url(url):
1414

1515
def 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.",

0 commit comments

Comments
 (0)