http-status-codes
http-status-codes copied to clipboard
Adding validator function
In this PR I have added a validator function called validateStatusCode. It validates if a given status code is recognized as code by our library it does so by matching the provided value with reasonPhraseToStatusCode Record. This PR addresses the issue https://github.com/prettymuchbryce/http-status-codes/issues/98