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


Release history Release notifications

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
uhttplib-0.2.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Aug 10, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page