Skip to content

validate_response does not handle "any" response code #13

Open
@HomoCodens

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions