Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate_response does not handle "any" response code #13

Open
HomoCodens opened this issue Nov 8, 2022 · 0 comments
Open

validate_response does not handle "any" response code #13

HomoCodens opened this issue Nov 8, 2022 · 0 comments

Comments

@HomoCodens
Copy link
Collaborator

In its current implementation, the function validate_response returns NULL it if receives an HTTP status code that is not explicitly listed in the switch.
A default branch with an informative error message should be added.

https://github.com/KOF-ch/kofdata/blob/main/R/validate_response.R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant