Skip to main content

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


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.2.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file uhttplib-0.2.tar.gz.

File metadata

  • Download URL: uhttplib-0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uhttplib-0.2.tar.gz
Algorithm Hash digest
SHA256 99315ec47db03d86680e9ccf437735bcc7e1b5fa656a0e5d29a188be4d016c18
MD5 d1d0fe22dc520acc7097cb4a9783c732
BLAKE2b-256 3c6768b360ffbaedbe6d77710fdf11c3211af50a2b417c2d28814fc9b71d18b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page