Closed i300220 closed 4 years ago
--- /usr/local/src/awstats/wwwroot/cgi-bin/lib/status_http.pm 2017-12-21 12:09:59.904873340 -0700 +++ /usr/share/awstats/lib/status_http.pm 2018-07-06 21:39:24.092767721 -0700 @@ -7,6 +7,7 @@ #package AWSHTTPCODES; +# https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes # httpcodelib # This list is used to found description of a HTTP status code @@ -27,13 +28,14 @@ #[Miscellaneous redirections] '3xx'=>'[Miscellaneous redirections]', '300'=>'Multiple documents available', -'301'=>'Moved permanently (redirect)', -'302'=>'Moved temporarily (redirect)', +'301'=>'Moved permanently', +'302'=>'Found', '303'=>'See other document', '304'=>'Not Modified since last retrieval', # HTTP request OK '305'=>'Use proxy', '306'=>'Switch proxy', -'307'=>'Moved temporarily', +'307'=>'Temporary redirect', +'308'=>'Permanent redirect', #[Miscellaneous client/user errors] '4xx'=>'[Miscellaneous client/user errors]', '400'=>'Bad Request', @@ -54,6 +56,18 @@ '415'=>'Unsupported media type', '416'=>'Requested range not valid', '417'=>'Failed', +'421'=>'Misdirected Request', +'426'=>'Upgrade Required', +'428'=>'Precondition Required', +'429'=>'Too many requests', +'431'=>'Request Header Fields Too Large', +'444'=>'No Response', +'451'=>'Unavailable For Legal Reasons', +'494'=>'Request header too large', +'495'=>'SSL Certificate Error', +'496'=>'SSL Certificate Required', +'497'=>'HTTP Request Sent to HTTPS Port', +'499'=>'Client closed request', #[Miscellaneous server errors] '5xx'=>'[Miscellaneous server errors]', '500'=>'Internal server Error',
Hi, just a suggestion to add modern satus codes.
Hi, just a suggestion to add modern satus codes.