Skip to content

openwurl/digestauth3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digestauth3

This library provides DigestPoolManager, a urllib3.PoolManager subclass that supports HTTP Digest Access Authentication.

Usage

from digestauth3 import DigestAuth, DigestPoolManager

http = DigestPoolManager()
digest_auth = DigestAuth('some-user', 'some-pw')
resp = http.request(
    'GET',
    'http://httpbin.org/digest-auth/some-bqop/some-user/some-pw',
    digest_auth=digest_auth,
)
print(resp.json())
# {'authenticated': True, 'user': 'some-user'}

Status

This package is experimental, so don't use it in production workloads.

About

HTTP Digest Auth implementation for urllib3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors