Deps of ffdn-db

Fork of https://github.com/Gu1/ndg_httpsclient.git

pjkersha 8018eafb07 * More tidying ready for release 13 years ago
ndg 8018eafb07 * More tidying ready for release 13 years ago
.project 8ad766f537 13 years ago
.pydevproject 8018eafb07 * More tidying ready for release 13 years ago
LICENSE 8ad766f537 13 years ago
MANIFEST.in 8018eafb07 * More tidying ready for release 13 years ago
README 8ad766f537 13 years ago
setup.py 8018eafb07 * More tidying ready for release 13 years ago

README

================
urllib2pyopenssl
================

Description
===========
This is a library to enable urllib2 to be used with SSL sockets from pyOpenSSL instead of the built in ssl library. A script is provided to exercise it:

urllib2pyopenssl_get::
- Utility to fetch data using HTTP or HTTPS GET from a specified URL.

Prerequisites
=============
This has been developed and tested for Python 2.6 (compiled with HTTPS support).
pyOpenSSL


Installation
============
Installation can be performed using easy_install, e.g.::
easy_install urllib2pyopenssl-0.1.0-py2.6.egg

Running urllib2pyopenssl_get
============================
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
-v, --verify-peer Verify peer certificate.