ndg_httpclient1
Enhanced https support for httplib and urllib2 using pyopenssl
Usage
ndg_httpclient [options]
url
Options
-
-h, --help -
show this 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 PATH, --ca-certificate-dir=PATH -
Trusted CA certificate file directory
-
-d, --debug -
Print debug information.
-
-p FILE, --post-data-file=FILE -
POST data file
-
-f FILE, --fetch=FILE -
Output file
-
-n, --no-verify-peer -
Skip verification of peer certificate.
-
-a USER:PASSWD, --basicauth=USER:PASSWD -
HTTP authentication credentials
--header=HEADER: VALUE-
Add HTTP header to request
Releases
Unchanged in 5 releases since Debian 9 (Stretch).