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 = (
105
105
106
106
sub status_message ($) { $StatusCode {$_ [0]}; }
107
107
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; }
115
114
1;
116
115
117
116
You can’t perform that action at this time.
0 commit comments