Skip to main content

Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL

Project description

This is a HTTPS client implementation for httplib and urllib2 based on
PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the
default provided with Python and importantly enables full verification of the
SSL peer.

Prerequisites
=============
This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13.
Note that proxy support is only available from Python 2.6.2 onwards. pyasn1 is
required for correct SSL verification with subjectAltNames.

Installation
============
Installation can be performed using easy_install or pip.

Running ndg_httpclient
======================
A simple script for fetching data using HTTP or HTTPS GET from a specified URL.

Parameter::
url The URL of the resource to be fetched

Options::
-h, --help Show help message and exit.
-c FILE, --certificate=FILE
Certificate file - defaults to $HOME/credentials.pem
-k FILE, --private-key=FILE
Private key file - defaults to the certificate file
-t DIR, --ca-certificate-dir=DIR
Trusted CA certificate file directory.
-d, --debug Print debug information - this may be useful in
solving problems with HTTP or HTTPS access to a
server.
-f FILE, --fetch=FILE Output file
-n, --no-verify-peer Skip verification of peer certificate.

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

ndg_httpsclient-0.2.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ndg_httpsclient-0.2.0-py2.7.egg (49.6 kB view details)

Uploaded Egg

File details

Details for the file ndg_httpsclient-0.2.0.tar.gz.

File metadata

File hashes

Hashes for ndg_httpsclient-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d319d7d9138cfe5eb36ab39d7a816417aad8a9bbdfe8f540edfd9d09336f92a0
MD5 f6a619ae506b02d9aacc3aa15ea74bf4
BLAKE2b-256 430e3336aefb769798365cb0b35adab534631482e0c177be6f4d94eee6b7215e

See more details on using hashes here.

File details

Details for the file ndg_httpsclient-0.2.0-py2.7.egg.

File metadata

File hashes

Hashes for ndg_httpsclient-0.2.0-py2.7.egg
Algorithm Hash digest
SHA256 043204a980a7494c66ad7a7c6b31256a43ea7ba71bb44e41cb976e509c88874b
MD5 f7e55c02ae35dc4eeeb968b6e5805509
BLAKE2b-256 486c04c665392a12f1126bec05bc26e2c945e66e60276320fa42b8a14df470ad

See more details on using hashes here.

Supported by

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