Skip to content

HTTPBasicAuth Feature #180

Open
Open
@FoamyGuy

Description

@FoamyGuy

In CPython requests it looks like there is HTTPBasicAuth which handles encoding credentials into the appropriate format. https://requests.readthedocs.io/en/latest/user/authentication/ we could add that class in the adafruit_requests library and then have matching APIs between circuitpython and CPython more closely.

Once implemented this could be used to simplify a few of the examples that make use of basic auth.

This was originally discussed in #167

Metadata

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