summaryrefslogtreecommitdiff
path: root/requests/utils.py
diff options
context:
space:
mode:
authorMaina Nick <nick.maina1@gmail.com>2018-10-29 22:55:03 +0300
committerGitHub <noreply@github.com>2018-10-29 22:55:03 +0300
commit045b706b378df07fabe24562972eabde2424e19b (patch)
tree1607b2db2d63982a0ded4fe04d147a48c5493df5 /requests/utils.py
parentccbffe5a533182e721be2e04bb201039e73bbdae (diff)
parenteaab47f033cae3bd443abb6707dfc30ae3482c36 (diff)
downloadpython-requests-045b706b378df07fabe24562972eabde2424e19b.tar.gz
Merge pull request #2 from requests/master
Syncing fork to the original repository
Diffstat (limited to 'requests/utils.py')
-rw-r--r--requests/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/requests/utils.py b/requests/utils.py
index 1572ad0c..8170a8d2 100644
--- a/requests/utils.py
+++ b/requests/utils.py
@@ -38,6 +38,8 @@ NETRC_FILES = ('.netrc', '_netrc')
DEFAULT_CA_BUNDLE_PATH = certs.where()
+DEFAULT_PORTS = {'http': 80, 'https': 443}
+
if sys.platform == 'win32':
# provide a proxy_bypass version on Windows without DNS lookups