File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,12 @@ our %EXPORT_TAGS = (
105105
106106sub status_message ($) { $StatusCode {$_ [0]}; }
107107
108- sub is_info ($) { $_ [0] && $_ [0] >= 100 && $_ [0] < 200; }
109- sub is_success ($) { $_ [0] && $_ [0] >= 200 && $_ [0] < 300; }
110- sub is_redirect ($) { $_ [0] && $_ [0] >= 300 && $_ [0] < 400; }
111- sub is_error ($) { $_ [0] && $_ [0] >= 400 && $_ [0] < 600; }
112- sub is_client_error ($) { $_ [0] && $_ [0] >= 400 && $_ [0] < 500; }
113- sub is_server_error ($) { $_ [0] && $_ [0] >= 500 && $_ [0] < 600; }
114-
108+ sub is_info ($) { $_ [0] && $_ [0] >= 100 && $_ [0] < 200; }
109+ sub is_success ($) { $_ [0] && $_ [0] >= 200 && $_ [0] < 300; }
110+ sub is_redirect ($) { $_ [0] && $_ [0] >= 300 && $_ [0] < 400; }
111+ sub is_error ($) { $_ [0] && $_ [0] >= 400 && $_ [0] < 600; }
112+ sub is_client_error ($) { $_ [0] && $_ [0] >= 400 && $_ [0] < 500; }
113+ sub is_server_error ($) { $_ [0] && $_ [0] >= 500 && $_ [0] < 600; }
1151141;
116115
117116
You can’t perform that action at this time.
0 commit comments