Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dput
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • DebianDebian
  • dput
  • Merge requests
  • !6

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ben Finney requested to merge wip/issue/944194/http-auth-request-error-handler into main Apr 25, 2022
  • Overview 2
  • Commits 3
  • Pipelines 0
  • Changes 3

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 Apr 25, 2022 by Ben Finney
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/issue/944194/http-auth-request-error-handler