Interaction with a remote monitoring server was done with hard coded values of http codes. To ease the maintenance and for code clarity, the use of http.HTTPStatus has been preferred.
Fixes #19
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
Checklist:
If an option is not relevant to your PR, do not delete it but use ~strikethrough formating on it~. This helps keeping track of the entire list.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes (not just the CI)
[x] Any dependent changes have been merged and published in downstream modules
[x] I have provided a link to the issue this PR adresses in the Description section above
Description
Interaction with a remote monitoring server was done with hard coded values of http codes. To ease the maintenance and for code clarity, the use of
http.HTTPStatus
has been preferred.Fixes #19
Type of change
Please delete options that are not relevant.
Checklist:
If an option is not relevant to your PR, do not delete it but use ~strikethrough formating on it~. This helps keeping track of the entire list.
Do not forget to @ the people that needs to do the review
Thanks for contributing! :pray: