Skip to content

Commit 4c6add7

Browse files
committed
status_error -> status_client_error
1 parent 6a35306 commit 4c6add7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/_colorize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class HttpServer(ThemeSection):
207207
serving: str = ANSIColors.GREEN
208208
size: str = ANSIColors.GREY
209209
status_ok: str = ANSIColors.BLUE
210-
status_error: str = ANSIColors.YELLOW
210+
status_client_error: str = ANSIColors.YELLOW
211211
status_server_error: str = ANSIColors.RED
212212
timestamp: str = ANSIColors.GREY
213213
url: str = ANSIColors.CYAN

Lib/http/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def _colorize_request(self, code, size, t):
585585
if code_int >= 500:
586586
code_color = t.status_server_error
587587
elif code_int >= 400:
588-
code_color = t.status_error
588+
code_color = t.status_client_error
589589
else:
590590
code_color = t.status_ok
591591

0 commit comments

Comments
 (0)