Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pythongssapi/urllib-gssapi
urllib/urllib2 backend for GSSAPI/SPNEGO authentication to HTTP/HTTPS servers
https://github.com/pythongssapi/urllib-gssapi
Last synced: 12 days ago
JSON representation
urllib/urllib2 backend for GSSAPI/SPNEGO authentication to HTTP/HTTPS servers
- Host: GitHub
- URL: https://github.com/pythongssapi/urllib-gssapi
- Owner: pythongssapi
- License: other
- Created: 2018-02-17T17:39:02.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T08:28:41.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T08:50:24.283Z (about 1 month ago)
- Language: Python
- Size: 56.6 KB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# urllib\_gssapi
urllib\_gssapi is a urllib backend for GSSAPI/SPNEGO authentication to HTTP
servers.## Usage
urllib\_gssapi replaces urllib\_kerberos, and behaves the same way - just
rename to HTTPSPNEGOAuthHandler.With an array of your other handlers (or just an empty one):
### Python 3
```Python
import urllib.request
import urllib_gssapihandlers.append(urllib_gssapi.HTTPSPNEGOAuthHandler())
opener = urllib.request.build_opener(*handlers)
urllib.request.install_opener(opener)
request = urllib.request.Request(url, data)
```## Credits
Robbie Harwood ported to python-gssapi and renamed to urllib_gssapi ([this
repo!](https://github.com/pythongssapi/urllib_gssapi)).Will Thames maintained [a fork](https://github.com/willthames/urllib_kerberos)
for a while.Tim Olsen was the original author of `urllib2_kerberos`
[library](https://bitbucket.org/tolsen/urllib2_kerberos) which is the bulk of
the content of the `urllib_kerberos` module.