Implement `urllib.request.Request` compatible API for auth.

The AuthHandlerHackAround implements a fake urllib.request.Request, but is missing some properties used in recent Python versions. (See Debian bug#944194)

These changes add full_url (a data property) and get_header (a method property) to AuthHandlerHackAround instances.

Edited by Ben Finney

Merge request reports

Loading