The codes you list are not assigned by IANA. So when you say custom, I assume these are codes you assigned in your http server. I'd encourage to use standard IANA-assigned codes. I just updated the list in the http script (in the git repository) with the current assignments.
If you do prefer to have a custom http script, the preferred location is /etc/logwatch/scripts/services/http, rather than under /usr/share, as that way it does not get overwritten at every update.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see; they are defined as custom by nginx. I've added the six custom codes to the http filter, as they do not appear to conflict with any other major http server software. Should IANA (official registry of HTTP status codes) define these codes , we'll have to update the file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The codes you list are not assigned by IANA. So when you say custom, I assume these are codes you assigned in your http server. I'd encourage to use standard IANA-assigned codes. I just updated the list in the http script (in the git repository) with the current assignments.
If you do prefer to have a custom http script, the preferred location is
/etc/logwatch/scripts/services/http, rather than under /usr/share, as that way it does not get overwritten at every update.No, that is not the case.
See https://github.com/nginx/nginx/blob/f09eae2a7586c5149fe7eaa497c8ff1be684270f/src/http/ngx_http_request.h#L109 for 444 and https://github.com/nginx/nginx/blob/f09eae2a7586c5149fe7eaa497c8ff1be684270f/src/http/ngx_http_request.h#L127 for 499.
Thanks for the tip with the location.
I see; they are defined as custom by nginx. I've added the six custom codes to the http filter, as they do not appear to conflict with any other major http server software. Should IANA (official registry of HTTP status codes) define these codes , we'll have to update the file.
Thanks a lot :)