python-requests supports passing an auth object, example:
r = request(method, url, auth=("user", "password"))
It detects basic authentication and builds the Basic {b64encoded} Authentication header for you
It would be nice if mureq also supported this, to more easily replace requests in scripts that make use of auth
python-requests supports passing an auth object, example:
It detects basic authentication and builds the
Basic {b64encoded}Authentication header for youIt would be nice if mureq also supported this, to more easily replace requests in scripts that make use of
auth