Unix domain socket support for httplib.
Project description
This module adds support for unix-domain sockets to Python’s httplib package.
Instead of using httplib.HTTPConnection, instantiate uhttplib.UnixHTTPConnection:
from uhttplib import UnixHTTPConnection conn = uhttplib.UnixHTTPConnection('/tmp/socket') conn.request('GET', '/') resp = conn.getresponse() print resp.read()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uhttplib-0.1.tar.gz
(2.0 kB
view details)
File details
Details for the file uhttplib-0.1.tar.gz
.
File metadata
- Download URL: uhttplib-0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f83ec317c2fa569e2c0a3dc9dc60f3cf9efda3184bb65a5f4e83acc8b6b93d42
|
|
MD5 |
24a05a6e94da2c371a45dbe7349bc24c
|
|
BLAKE2b-256 |
57e9726c330d40d7795baca9fdc6b008d9ecf607a32aa2b3bcf1c9311abd2283
|