Skip to main content

allow http/https requests through https proxy

Project description

==============
requests-httpsproxy
==============
allow http/https requests through https proxy

Requirements
------------
* requests >= 2.13.0
* PyOpenSSL >= 0.11
* tlslite-ng

Usage
-----

.. code:: python

import requests
import requests_httpsproxy

https_proxy = 'https://localhost:8443'
sess = requests.Session()
print (sess.get('https://httpbin.org/ip', proxies={'http':https_proxy, 'https':https_proxy}).text)


License
-------
MIT

Related issues
-------
- https://github.com/kennethreitz/requests/issues/1182
- https://github.com/kennethreitz/requests/issues/1622
- https://github.com/kennethreitz/requests/issues/1903
- https://github.com/kennethreitz/requests/issues/3468
- https://github.com/kennethreitz/requests/issues/3806
- https://github.com/kennethreitz/requests/issues/3882

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

requests_httpsproxy-1.0.3.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distributions

requests_httpsproxy-1.0.3-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

requests_httpsproxy-1.0.3-py2-none-any.whl (5.7 kB view hashes)

Uploaded Python 2

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