Add SPDX license tags to urllib3 redistributed code.
Austin S. Hemmelgarn committed
Jun 1, 2018 at 11:57 UTC
a98d25f58763f36c72c8a6f7961f9d3945ba0808
27 files changed
+27
python.d/python_modules/urllib3/__init__.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
urllib3 - Thread-safe connection pooling and re-using.
4
"""
python.d/python_modules/urllib3/_collections.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from collections import Mapping, MutableMapping
4
try:
python.d/python_modules/urllib3/connection.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import datetime
4
import logging
python.d/python_modules/urllib3/connectionpool.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import errno
4
import logging
python.d/python_modules/urllib3/contrib/_securetransport/bindings.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
This module uses ctypes to bind a whole bunch of functions and constants from
4
SecureTransport. The goal here is to provide the low-level API to
python.d/python_modules/urllib3/contrib/_securetransport/low_level.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
Low-level helpers for the SecureTransport bindings.
4
python.d/python_modules/urllib3/contrib/appengine.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
This module provides a pool manager that uses Google App Engine's
4
`URLFetch Service <https://cloud.google.com/appengine/docs/python/urlfetch>`_.
python.d/python_modules/urllib3/contrib/ntlmpool.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
NTLM authenticating pool, contributed by erikcederstran
4
python.d/python_modules/urllib3/contrib/pyopenssl.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
SSL with SNI_-support for Python 2. Follow these instructions if you would
4
like to verify SSL certificates in Python 2. Note, the default libraries do
python.d/python_modules/urllib3/contrib/securetransport.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
"""
3
SecureTranport support for urllib3 via ctypes.
4
python.d/python_modules/urllib3/contrib/socks.py
+1
@@ -1,4 +1,5 @@
1
# -*- coding: utf-8 -*-
2
+# SPDX-License-Identifier: MIT
3
"""
4
This module contains provisional support for SOCKS proxies from within
5
urllib3. This module supports SOCKS4 (specifically the SOCKS4A variant) and
python.d/python_modules/urllib3/exceptions.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from .packages.six.moves.http_client import (
4
IncompleteRead as httplib_IncompleteRead
python.d/python_modules/urllib3/fields.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import email.utils
4
import mimetypes
python.d/python_modules/urllib3/filepost.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import codecs
4
python.d/python_modules/urllib3/poolmanager.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import collections
4
import functools
python.d/python_modules/urllib3/request.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
4
from .filepost import encode_multipart_formdata
python.d/python_modules/urllib3/response.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from contextlib import contextmanager
4
import zlib
python.d/python_modules/urllib3/util/__init__.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
# For backwards compatibility, provide imports that used to be here.
4
from .connection import is_connection_dropped
python.d/python_modules/urllib3/util/connection.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import socket
4
from .wait import wait_for_read
python.d/python_modules/urllib3/util/request.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from base64 import b64encode
4
python.d/python_modules/urllib3/util/response.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from ..packages.six.moves import http_client as httplib
4
python.d/python_modules/urllib3/util/retry.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import time
4
import logging
python.d/python_modules/urllib3/util/selectors.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
# Backport of selectors.py from Python 3.5+ to support Python < 3.4
3
# Also has the behavior specified in PEP 475 which is to retry syscalls
4
# in the case of an EINTR error. This module is required because selectors34
python.d/python_modules/urllib3/util/ssl_.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
import errno
4
import warnings
python.d/python_modules/urllib3/util/timeout.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
# The default socket timeout, used by httplib to indicate that no timeout was
4
# specified by the user
python.d/python_modules/urllib3/util/url.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from __future__ import absolute_import
3
from collections import namedtuple
4
python.d/python_modules/urllib3/util/wait.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
from .selectors import (
3
HAS_SELECT,
4
DefaultSelector,