Skip to content

Add input validation #593

Description

@jrfnl

This is just an issue to track which classes have been reviewed for missing input validation and the associated PRs adding the input validation.

Input validation is being added to all entry point methods for each class with an InvalidArgument exception being thrown for invalid parameter types. As this may break existing uses of Requests, this input validation needs to be added in the 2.0.0 release.

Action list

Note: the Requests native Exception classes are already exceptions, so rather than throwing another exception on invalid input, these should defer to sensible default values when invalid input is passed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions