{"action":"opened","number":67,"pull_request":{"url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67","id":237473570,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NDczNTcw","html_url":"https://github.com/hwseta/hwseta_portal/pull/67","diff_url":"https://github.com/hwseta/hwseta_portal/pull/67.diff","patch_url":"https://github.com/hwseta/hwseta_portal/pull/67.patch","issue_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/67","number":67,"state":"open","locked":false,"title":"Update requests to 2.21.0","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"body":"\nThis PR updates [requests](https://pypi.org/project/requests) from **2.2.1** to **2.21.0**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 2.21.0\n   ```\n   -------------------\n\n**Dependencies**\n\n- Requests now supports idna v2.8.\n   ```\n   \n  \n  \n   ### 2.20.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n- Fixed bug with unintended Authorization header stripping for\n  redirects using default ports (http/80, https/443).\n   ```\n   \n  \n  \n   ### 2.20.0\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Content-Type header parsing is now case-insensitive (e.g.\n    charset=utf8 v Charset=utf8).\n-   Fixed exception leak where certain redirect urls would raise\n    uncaught urllib3 exceptions.\n-   Requests removes Authorization header from requests redirected\n    from https to http on the same hostname. (CVE-2018-18074)\n-   `should_bypass_proxies` now handles URIs without hostnames (e.g.\n    files).\n\n**Dependencies**\n\n- Requests now supports urllib3 v1.24.\n\n**Deprecations**\n\n- Requests has officially stopped support for Python 2.6.\n   ```\n   \n  \n  \n   ### 2.19.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed issue where status\\_codes.py&#39;s `init` function failed trying\n    to append to a `__doc__` value of `None`.\n   ```\n   \n  \n  \n   ### 2.19.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   Warn user about possible slowdown when using cryptography version\n    &amp;lt; 1.3.4\n-   Check for invalid host in proxy URL, before forwarding request to\n    adapter.\n-   Fragments are now properly maintained across redirects. (RFC7231\n    7.1.2)\n-   Removed use of cgi module to expedite library load time.\n-   Added support for SHA-256 and SHA-512 digest auth algorithms.\n-   Minor performance improvement to `Request.content`.\n-   Migrate to using collections.abc for 3.7 compatibility.\n\n**Bugfixes**\n\n-   Parsing empty `Link` headers with `parse_header_links()` no longer\n    return one bogus entry.\n-   Fixed issue where loading the default certificate bundle from a zip\n    archive would raise an `IOError`.\n-   Fixed issue with unexpected `ImportError` on windows system which do\n    not support `winreg` module.\n-   DNS resolution in proxy bypass no longer includes the username and\n    password in the request. This also fixes the issue of DNS queries\n    failing on macOS.\n-   Properly normalize adapter prefixes for url comparison.\n-   Passing `None` as a file pointer to the `files` param no longer\n    raises an exception.\n-   Calling `copy` on a `RequestsCookieJar` will now preserve the cookie\n    policy correctly.\n\n**Dependencies**\n\n-   We now support idna v2.7.\n-   We now support urllib3 v1.23.\n   ```\n   \n  \n  \n   ### 2.18.4\n   ```\n   -------------------\n\n**Improvements**\n\n-   Error messages for invalid headers now include the header name for\n    easier debugging\n\n**Dependencies**\n\n-   We now support idna v2.6.\n   ```\n   \n  \n  \n   ### 2.18.3\n   ```\n   -------------------\n\n**Improvements**\n\n-   Running `$ python -m requests.help` now includes the installed\n    version of idna.\n\n**Bugfixes**\n\n-   Fixed issue where Requests would raise `ConnectionError` instead of\n    `SSLError` when encountering SSL problems when using urllib3 v1.22.\n   ```\n   \n  \n  \n   ### 2.18.2\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   `requests.help` no longer fails on Python 2.6 due to the absence of\n    `ssl.OPENSSL_VERSION_NUMBER`.\n\n**Dependencies**\n\n-   We now support urllib3 v1.22.\n   ```\n   \n  \n  \n   ### 2.18.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fix an error in the packaging whereby the `*.whl` contained\n    incorrect data that regressed the fix in v2.17.3.\n   ```\n   \n  \n  \n   ### 2.18.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   `Response` is now a context manager, so can be used directly in a\n    `with` statement without first having to be wrapped by\n    `contextlib.closing()`.\n\n**Bugfixes**\n\n-   Resolve installation failure if multiprocessing is not available\n-   Resolve tests crash if multiprocessing is not able to determine the\n    number of CPU cores\n-   Resolve error swallowing in utils set\\_environ generator\n   ```\n   \n  \n  \n   ### 2.17.3\n   ```\n   -------------------\n\n**Improvements**\n\n-   Improved `packages` namespace identity support, for monkeypatching\n    libraries.\n   ```\n   \n  \n  \n   ### 2.17.2\n   ```\n   -------------------\n\n**Improvements**\n\n-   Improved `packages` namespace identity support, for monkeypatching\n    libraries.\n   ```\n   \n  \n  \n   ### 2.17.1\n   ```\n   -------------------\n\n**Improvements**\n\n-   Improved `packages` namespace identity support, for monkeypatching\n    libraries.\n   ```\n   \n  \n  \n   ### 2.17.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   Removal of the 301 redirect cache. This improves thread-safety.\n   ```\n   \n  \n  \n   ### 2.16.5\n   ```\n   -------------------\n\n-   Improvements to `$ python -m requests.help`.\n   ```\n   \n  \n  \n   ### 2.16.4\n   ```\n   -------------------\n\n-   Introduction of the `$ python -m requests.help` command, for\n    debugging with maintainers!\n   ```\n   \n  \n  \n   ### 2.16.3\n   ```\n   -------------------\n\n-   Further restored the `requests.packages` namespace for compatibility\n    reasons.\n   ```\n   \n  \n  \n   ### 2.16.2\n   ```\n   -------------------\n\n-   Further restored the `requests.packages` namespace for compatibility\n    reasons.\n\nNo code modification (noted below) should be necessary any longer.\n   ```\n   \n  \n  \n   ### 2.16.1\n   ```\n   -------------------\n\n-   Restored the `requests.packages` namespace for compatibility\n    reasons.\n-   Bugfix for `urllib3` version parsing.\n\n**Note**: code that was written to import against the\n`requests.packages` namespace previously will have to import code that\nrests at this module-level now.\n\nFor example:\n\n    from requests.packages.urllib3.poolmanager import PoolManager\n\nWill need to be re-written to be:\n\n    from requests.packages import urllib3\n    urllib3.poolmanager.PoolManager\n\nOr, even better:\n\n    from urllib3.poolmanager import PoolManager\n   ```\n   \n  \n  \n   ### 2.16.0\n   ```\n   -------------------\n\n-   Unvendor ALL the things!\n   ```\n   \n  \n  \n   ### 2.15.1\n   ```\n   -------------------\n\n-   Everyone makes mistakes.\n   ```\n   \n  \n  \n   ### 2.15.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   Introduction of the `Response.next` property, for getting the next\n    `PreparedResponse` from a redirect chain (when\n    `allow_redirects=False`).\n-   Internal refactoring of `__version__` module.\n\n**Bugfixes**\n\n-   Restored once-optional parameter for\n    `requests.utils.get_environ_proxies()`.\n   ```\n   \n  \n  \n   ### 2.14.2\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Changed a less-than to an equal-to and an or in the dependency\n    markers to widen compatibility with older setuptools releases.\n   ```\n   \n  \n  \n   ### 2.14.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Changed the dependency markers to widen compatibility with older pip\n    releases.\n   ```\n   \n  \n  \n   ### 2.14.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   It is now possible to pass `no_proxy` as a key to the `proxies`\n    dictionary to provide handling similar to the `NO_PROXY` environment\n    variable.\n-   When users provide invalid paths to certificate bundle files or\n    directories Requests now raises `IOError`, rather than failing at\n    the time of the HTTPS request with a fairly inscrutable certificate\n    validation error.\n-   The behavior of `SessionRedirectMixin` was slightly altered.\n    `resolve_redirects` will now detect a redirect by calling\n    `get_redirect_target(response)` instead of directly querying\n    `Response.is_redirect` and `Response.headers[&#39;location&#39;]`. Advanced\n    users will be able to process malformed redirects more easily.\n-   Changed the internal calculation of elapsed request time to have\n    higher resolution on Windows.\n-   Added `win_inet_pton` as conditional dependency for the `[socks]`\n    extra on Windows with Python 2.7.\n-   Changed the proxy bypass implementation on Windows: the proxy bypass\n    check doesn&#39;t use forward and reverse DNS requests anymore\n-   URLs with schemes that begin with `http` but are not `http` or\n    `https` no longer have their host parts forced to lowercase.\n\n**Bugfixes**\n\n-   Much improved handling of non-ASCII `Location` header values in\n    redirects. Fewer `UnicodeDecodeErrors` are encountered on Python 2,\n    and Python 3 now correctly understands that Latin-1 is unlikely to\n    be the correct encoding.\n-   If an attempt to `seek` file to find out its length fails, we now\n    appropriately handle that by aborting our content-length\n    calculations.\n-   Restricted `HTTPDigestAuth` to only respond to auth challenges made\n    on 4XX responses, rather than to all auth challenges.\n-   Fixed some code that was firing `DeprecationWarning` on Python 3.6.\n-   The dismayed person emoticon (`/o\\\\`) no longer has a big head. I&#39;m\n    sure this is what you were all worrying about most.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to v1.21.1.\n-   Updated bundled chardet to v3.0.2.\n-   Updated bundled idna to v2.5.\n-   Updated bundled certifi to 2017.4.17.\n   ```\n   \n  \n  \n   ### 2.13.0\n   ```\n   -------------------\n\n**Features**\n\n-   Only load the `idna` library when we&#39;ve determined we need it. This\n    will save some memory for users.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.20.\n-   Updated bundled idna to 2.2.\n   ```\n   \n  \n  \n   ### 2.12.5\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed an issue with JSON encoding detection, specifically detecting\n    big-endian UTF-32 with BOM.\n   ```\n   \n  \n  \n   ### 2.12.4\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed regression from 2.12.2 where non-string types were rejected in\n    the basic auth parameters. While support for this behaviour has been\n    readded, the behaviour is deprecated and will be removed in the\n    future.\n   ```\n   \n  \n  \n   ### 2.12.3\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed regression from v2.12.1 for URLs with schemes that begin with\n    &quot;http&quot;. These URLs have historically been processed as though they\n    were HTTP-schemed URLs, and so have had parameters added. This was\n    removed in v2.12.2 in an overzealous attempt to resolve problems\n    with IDNA-encoding those URLs. This change was reverted: the other\n    fixes for IDNA-encoding have been judged to be sufficient to return\n    to the behaviour Requests had before v2.12.0.\n   ```\n   \n  \n  \n   ### 2.12.2\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed several issues with IDNA-encoding URLs that are technically\n    invalid but which are widely accepted. Requests will now attempt to\n    IDNA-encode a URL if it can but, if it fails, and the host contains\n    only ASCII characters, it will be passed through optimistically.\n    This will allow users to opt-in to using IDNA2003 themselves if they\n    want to, and will also allow technically invalid but still common\n    hostnames.\n-   Fixed an issue where URLs with leading whitespace would raise\n    `InvalidSchema` errors.\n-   Fixed an issue where some URLs without the HTTP or HTTPS schemes\n    would still have HTTP URL preparation applied to them.\n-   Fixed an issue where Unicode strings could not be used in basic\n    auth.\n-   Fixed an issue encountered by some Requests plugins where\n    constructing a Response object would cause `Response.content` to\n    raise an `AttributeError`.\n   ```\n   \n  \n  \n   ### 2.12.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Updated setuptools &#39;security&#39; extra for the new PyOpenSSL backend in\n    urllib3.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.19.1.\n   ```\n   \n  \n  \n   ### 2.12.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   Updated support for internationalized domain names from IDNA2003 to\n    IDNA2008. This updated support is required for several forms of IDNs\n    and is mandatory for .de domains.\n-   Much improved heuristics for guessing content lengths: Requests will\n    no longer read an entire `StringIO` into memory.\n-   Much improved logic for recalculating `Content-Length` headers for\n    `PreparedRequest` objects.\n-   Improved tolerance for file-like objects that have no `tell` method\n    but do have a `seek` method.\n-   Anything that is a subclass of `Mapping` is now treated like a\n    dictionary by the `data=` keyword argument.\n-   Requests now tolerates empty passwords in proxy credentials, rather\n    than stripping the credentials.\n-   If a request is made with a file-like object as the body and that\n    request is redirected with a 307 or 308 status code, Requests will\n    now attempt to rewind the body object so it can be replayed.\n\n**Bugfixes**\n\n-   When calling `response.close`, the call to `close` will be\n    propagated through to non-urllib3 backends.\n-   Fixed issue where the `ALL_PROXY` environment variable would be\n    preferred over scheme-specific variables like `HTTP_PROXY`.\n-   Fixed issue where non-UTF8 reason phrases got severely mangled by\n    falling back to decoding using ISO 8859-1 instead.\n-   Fixed a bug where Requests would not correctly correlate cookies set\n    when using custom Host headers if those Host headers did not use the\n    native string type for the platform.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.19.\n-   Updated bundled certifi certs to 2016.09.26.\n   ```\n   \n  \n  \n   ### 2.11.1\n   ```\n   -------------------\n\n**Bugfixes**\n\n-   Fixed a bug when using `iter_content` with `decode_unicode=True` for\n    streamed bodies would raise `AttributeError`. This bug was\n    introduced in 2.11.\n-   Strip Content-Type and Transfer-Encoding headers from the header\n    block when following a redirect that transforms the verb from\n    POST/PUT to GET.\n   ```\n   \n  \n  \n   ### 2.11.0\n   ```\n   -------------------\n\n**Improvements**\n\n-   Added support for the `ALL_PROXY` environment variable.\n-   Reject header values that contain leading whitespace or newline\n    characters to reduce risk of header smuggling.\n\n**Bugfixes**\n\n-   Fixed occasional `TypeError` when attempting to decode a JSON\n    response that occurred in an error case. Now correctly returns a\n    `ValueError`.\n-   Requests would incorrectly ignore a non-CIDR IP address in the\n    `NO_PROXY` environment variables: Requests now treats it as a\n    specific IP.\n-   Fixed a bug when sending JSON data that could cause us to encounter\n    obscure OpenSSL errors in certain network conditions (yes, really).\n-   Added type checks to ensure that `iter_content` only accepts\n    integers and `None` for chunk sizes.\n-   Fixed issue where responses whose body had not been fully consumed\n    would have the underlying connection closed but not returned to the\n    connection pool, which could cause Requests to hang in situations\n    where the `HTTPAdapter` had been configured to use a blocking\n    connection pool.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.16.\n-   Some previous releases accidentally accepted non-strings as\n    acceptable header values. This release does not.\n   ```\n   \n  \n  \n   ### 2.10.0\n   ```\n   -------------------\n\n**New Features**\n\n-   SOCKS Proxy Support! (requires PySocks;\n    `$ pip install requests[socks]`)\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.15.1.\n   ```\n   \n  \n  \n   ### 2.9.2\n   ```\n   ------------------\n\n**Improvements**\n\n-   Change built-in CaseInsensitiveDict (used for headers) to use\n    OrderedDict as its underlying datastore.\n\n**Bugfixes**\n\n-   Don&#39;t use redirect\\_cache if allow\\_redirects=False\n-   When passed objects that throw exceptions from `tell()`, send them\n    via chunked transfer encoding instead of failing.\n-   Raise a ProxyError for proxy related connection issues.\n   ```\n   \n  \n  \n   ### 2.9.1\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Resolve regression introduced in 2.9.0 that made it impossible to\n    send binary strings as bodies in Python 3.\n-   Fixed errors when calculating cookie expiration dates in certain\n    locales.\n\n**Miscellaneous**\n\n-   Updated bundled urllib3 to 1.13.1.\n   ```\n   \n  \n  \n   ### 2.9.0\n   ```\n   ------------------\n\n**Minor Improvements** (Backwards compatible)\n\n-   The `verify` keyword argument now supports being passed a path to a\n    directory of CA certificates, not just a single-file bundle.\n-   Warnings are now emitted when sending files opened in text mode.\n-   Added the 511 Network Authentication Required status code to the\n    status code registry.\n\n**Bugfixes**\n\n-   For file-like objects that are not seeked to the very beginning, we\n    now send the content length for the number of bytes we will actually\n    read, rather than the total size of the file, allowing partial file\n    uploads.\n-   When uploading file-like objects, if they are empty or have no\n    obvious content length we set `Transfer-Encoding: chunked` rather\n    than `Content-Length: 0`.\n-   We correctly receive the response in buffered mode when uploading\n    chunked bodies.\n-   We now handle being passed a query string as a bytestring on Python\n    3, by decoding it as UTF-8.\n-   Sessions are now closed in all cases (exceptional and not) when\n    using the functional API rather than leaking and waiting for the\n    garbage collector to clean them up.\n-   Correctly handle digest auth headers with a malformed `qop`\n    directive that contains no token, by treating it the same as if no\n    `qop` directive was provided at all.\n-   Minor performance improvements when removing specific cookies by\n    name.\n\n**Miscellaneous**\n\n-   Updated urllib3 to 1.13.\n   ```\n   \n  \n  \n   ### 2.8.1\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Update certificate bundle to match `certifi` 2015.9.6.2&#39;s weak\n    certificate bundle.\n-   Fix a bug in 2.8.0 where requests would raise `ConnectTimeout`\n    instead of `ConnectionError`\n-   When using the PreparedRequest flow, requests will now correctly\n    respect the `json` parameter. Broken in 2.8.0.\n-   When using the PreparedRequest flow, requests will now correctly\n    handle a Unicode-string method name on Python 2. Broken in 2.8.0.\n   ```\n   \n  \n  \n   ### 2.8.0\n   ```\n   ------------------\n\n**Minor Improvements** (Backwards Compatible)\n\n-   Requests now supports per-host proxies. This allows the `proxies`\n    dictionary to have entries of the form\n    `{&#39;&lt;scheme&gt;://&lt;hostname&gt;&#39;: &#39;&lt;proxy&gt;&#39;}`. Host-specific proxies will\n    be used in preference to the previously-supported scheme-specific\n    ones, but the previous syntax will continue to work.\n-   `Response.raise_for_status` now prints the URL that failed as part\n    of the exception message.\n-   `requests.utils.get_netrc_auth` now takes an `raise_errors` kwarg,\n    defaulting to `False`. When `True`, errors parsing `.netrc` files\n    cause exceptions to be thrown.\n-   Change to bundled projects import logic to make it easier to\n    unbundle requests downstream.\n-   Changed the default User-Agent string to avoid leaking data on\n    Linux: now contains only the requests version.\n\n**Bugfixes**\n\n-   The `json` parameter to `post()` and friends will now only be used\n    if neither `data` nor `files` are present, consistent with the\n    documentation.\n-   We now ignore empty fields in the `NO_PROXY` environment variable.\n-   Fixed problem where `httplib.BadStatusLine` would get raised if\n    combining `stream=True` with `contextlib.closing`.\n-   Prevented bugs where we would attempt to return the same connection\n    back to the connection pool twice when sending a Chunked body.\n-   Miscellaneous minor internal changes.\n-   Digest Auth support is now thread safe.\n\n**Updates**\n\n-   Updated urllib3 to 1.12.\n   ```\n   \n  \n  \n   ### 2.7.0\n   ```\n   ------------------\n\nThis is the first release that follows our new release process. For\nmore, see [our\ndocumentation](http://docs.python-requests.org/en/latest/community/release-process/).\n\n**Bugfixes**\n\n-   Updated urllib3 to 1.10.4, resolving several bugs involving chunked\n    transfer encoding and response framing.\n   ```\n   \n  \n  \n   ### 2.6.2\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Fix regression where compressed data that was sent as chunked data\n    was not properly decompressed. (\\2561)\n   ```\n   \n  \n  \n   ### 2.6.1\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Remove VendorAlias import machinery introduced in v2.5.2.\n-   Simplify the PreparedRequest.prepare API: We no longer require the\n    user to pass an empty list to the hooks keyword argument. (c.f.\n    \\2552)\n-   Resolve redirects now receives and forwards all of the original\n    arguments to the adapter. (\\2503)\n-   Handle UnicodeDecodeErrors when trying to deal with a unicode URL\n    that cannot be encoded in ASCII. (\\2540)\n-   Populate the parsed path of the URI field when performing Digest\n    Authentication. (\\2426)\n-   Copy a PreparedRequest&#39;s CookieJar more reliably when it is not an\n    instance of RequestsCookieJar. (\\2527)\n   ```\n   \n  \n  \n   ### 2.6.0\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   CVE-2015-2296: Fix handling of cookies on redirect. Previously a\n    cookie without a host value set would use the hostname for the\n    redirected URL exposing requests users to session fixation attacks\n    and potentially cookie stealing. This was disclosed privately by\n    Matthew Daley of [BugFuzz](https://bugfuzz.com). This affects all\n    versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).\n-   Fix error when requests is an `install_requires` dependency and\n    `python setup.py test` is run. (\\2462)\n-   Fix error when urllib3 is unbundled and requests continues to use\n    the vendored import location.\n-   Include fixes to `urllib3`&#39;s header handling.\n-   Requests&#39; handling of unvendored dependencies is now more\n    restrictive.\n\n**Features and Improvements**\n\n-   Support bytearrays when passed as parameters in the `files`\n    argument. (\\2468)\n-   Avoid data duplication when creating a request with `str`, `bytes`,\n    or `bytearray` input to the `files` argument.\n   ```\n   \n  \n  \n   ### 2.5.3\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Revert changes to our vendored certificate bundle. For more context\n    see (\\2455, \\2456, and &lt;https://bugs.python.org/issue23476&gt;)\n   ```\n   \n  \n  \n   ### 2.5.2\n   ```\n   ------------------\n\n**Features and Improvements**\n\n-   Add sha256 fingerprint support.\n    ([shazow/urllib3\\540](https://github.com/shazow/urllib3/pull/540))\n-   Improve the performance of headers.\n    ([shazow/urllib3\\544](https://github.com/shazow/urllib3/pull/544))\n\n**Bugfixes**\n\n-   Copy pip&#39;s import machinery. When downstream redistributors remove\n    requests.packages.urllib3 the import machinery will continue to let\n    those same symbols work. Example usage in requests&#39; documentation\n    and 3rd-party libraries relying on the vendored copies of urllib3\n    will work without having to fallback to the system urllib3.\n-   Attempt to quote parts of the URL on redirect if unquoting and then\n    quoting fails. (\\2356)\n-   Fix filename type check for multipart form-data uploads. (\\2411)\n-   Properly handle the case where a server issuing digest\n    authentication challenges provides both auth and auth-int\n    qop-values. (\\2408)\n-   Fix a socket leak.\n    ([shazow/urllib3\\549](https://github.com/shazow/urllib3/pull/549))\n-   Fix multiple `Set-Cookie` headers properly.\n    ([shazow/urllib3\\534](https://github.com/shazow/urllib3/pull/534))\n-   Disable the built-in hostname verification.\n    ([shazow/urllib3\\526](https://github.com/shazow/urllib3/pull/526))\n-   Fix the behaviour of decoding an exhausted stream.\n    ([shazow/urllib3\\535](https://github.com/shazow/urllib3/pull/535))\n\n**Security**\n\n-   Pulled in an updated `cacert.pem`.\n-   Drop RC4 from the default cipher list.\n    ([shazow/urllib3\\551](https://github.com/shazow/urllib3/pull/551))\n   ```\n   \n  \n  \n   ### 2.5.1\n   ```\n   ------------------\n\n**Behavioural Changes**\n\n-   Only catch HTTPErrors in raise\\_for\\_status (\\2382)\n\n**Bugfixes**\n\n-   Handle LocationParseError from urllib3 (\\2344)\n-   Handle file-like object filenames that are not strings (\\2379)\n-   Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated\n    (\\2389)\n   ```\n   \n  \n  \n   ### 2.5.0\n   ```\n   ------------------\n\n**Improvements**\n\n-   Allow usage of urllib3&#39;s Retry object with HTTPAdapters (\\2216)\n-   The `iter_lines` method on a response now accepts a delimiter with\n    which to split the content (\\2295)\n\n**Behavioural Changes**\n\n-   Add deprecation warnings to functions in requests.utils that will be\n    removed in 3.0 (\\2309)\n-   Sessions used by the functional API are always closed (\\2326)\n-   Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9)\n    (\\2323)\n\n**Bugfixes**\n\n-   Only parse the URL once (\\2353)\n-   Allow Content-Length header to always be overridden (\\2332)\n-   Properly handle files in HTTPDigestAuth (\\2333)\n-   Cap redirect\\_cache size to prevent memory abuse (\\2299)\n-   Fix HTTPDigestAuth handling of redirects after authenticating\n    successfully (\\2253)\n-   Fix crash with custom method parameter to Session.request (\\2317)\n-   Fix how Link headers are parsed using the regular expression library\n    (\\2271)\n\n**Documentation**\n\n-   Add more references for interlinking (\\2348)\n-   Update CSS for theme (\\2290)\n-   Update width of buttons and sidebar (\\2289)\n-   Replace references of Gittip with Gratipay (\\2282)\n-   Add link to changelog in sidebar (\\2273)\n   ```\n   \n  \n  \n   ### 2.4.3\n   ```\n   ------------------\n\n**Bugfixes**\n\n-   Unicode URL improvements for Python 2.\n-   Re-order JSON param for backwards compat.\n-   Automatically defrag authentication schemes from host/pass URIs.\n    ([\\2249](https://github.com/requests/requests/issues/2249))\n   ```\n   \n  \n  \n   ### 2.4.2\n   ```\n   ------------------\n\n**Improvements**\n\n-   FINALLY! Add json parameter for uploads!\n    ([\\2258](https://github.com/requests/requests/pull/2258))\n-   Support for bytestring URLs on Python 3.x\n    ([\\2238](https://github.com/requests/requests/pull/2238))\n\n**Bugfixes**\n\n-   Avoid getting stuck in a loop\n    ([\\2244](https://github.com/requests/requests/pull/2244))\n-   Multiple calls to iter\\* fail with unhelpful error.\n    ([\\2240](https://github.com/requests/requests/issues/2240),\n    [\\2241](https://github.com/requests/requests/issues/2241))\n\n**Documentation**\n\n-   Correct redirection introduction\n    ([\\2245](https://github.com/requests/requests/pull/2245/))\n-   Added example of how to send multiple files in one request.\n    ([\\2227](https://github.com/requests/requests/pull/2227/))\n-   Clarify how to pass a custom set of CAs\n    ([\\2248](https://github.com/requests/requests/pull/2248/))\n   ```\n   \n  \n  \n   ### 2.4.1\n   ```\n   ------------------\n\n-   Now has a &quot;security&quot; package extras set,\n    `$ pip install requests[security]`\n-   Requests will now use Certifi if it is available.\n-   Capture and re-raise urllib3 ProtocolError\n-   Bugfix for responses that attempt to redirect to themselves forever\n    (wtf?).\n   ```\n   \n  \n  \n   ### 2.4.0\n   ```\n   ------------------\n\n**Behavioral Changes**\n\n-   `Connection: keep-alive` header is now sent automatically.\n\n**Improvements**\n\n-   Support for connect timeouts! Timeout now accepts a tuple (connect,\n    read) which is used to set individual connect and read timeouts.\n-   Allow copying of PreparedRequests without headers/cookies.\n-   Updated bundled urllib3 version.\n-   Refactored settings loading from environment -- new\n    Session.merge\\_environment\\_settings.\n-   Handle socket errors in iter\\_content.\n   ```\n   \n  \n  \n   ### 2.3.0\n   ```\n   ------------------\n\n**API Changes**\n\n-   New `Response` property `is_redirect`, which is true when the\n    library could have processed this response as a redirection (whether\n    or not it actually did).\n-   The `timeout` parameter now affects requests with both `stream=True`\n    and `stream=False` equally.\n-   The change in v2.0.0 to mandate explicit proxy schemes has been\n    reverted. Proxy schemes now default to `http://`.\n-   The `CaseInsensitiveDict` used for HTTP headers now behaves like a\n    normal dictionary when references as string or viewed in the\n    interpreter.\n\n**Bugfixes**\n\n-   No longer expose Authorization or Proxy-Authorization headers on\n    redirect. Fix CVE-2014-1829 and CVE-2014-1830 respectively.\n-   Authorization is re-evaluated each redirect.\n-   On redirect, pass url as native strings.\n-   Fall-back to autodetected encoding for JSON when Unicode detection\n    fails.\n-   Headers set to `None` on the `Session` are now correctly not sent.\n-   Correctly honor `decode_unicode` even if it wasn&#39;t used earlier in\n    the same response.\n-   Stop advertising `compress` as a supported Content-Encoding.\n-   The `Response.history` parameter is now always a list.\n-   Many, many `urllib3` bugfixes.\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/requests\n  - Changelog: https://pyup.io/changelogs/requests/\n  - Homepage: http://python-requests.org\n</details>\n\n","created_at":"2018-12-10T21:33:48Z","updated_at":"2018-12-10T21:33:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67/commits","review_comments_url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67/comments","review_comment_url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/67/comments","statuses_url":"https://api.github.com/repos/hwseta/hwseta_portal/statuses/6e40d7392df968fceea18b9261d120e12aaa839f","head":{"label":"hwseta:pyup-update-requests-2.2.1-to-2.21.0","ref":"pyup-update-requests-2.2.1-to-2.21.0","sha":"6e40d7392df968fceea18b9261d120e12aaa839f","user":{"login":"hwseta","id":42604030,"node_id":"MDQ6VXNlcjQyNjA0MDMw","avatar_url":"https://avatars1.githubusercontent.com/u/42604030?v=4","gravatar_id":"","url":"https://api.github.com/users/hwseta","html_url":"https://github.com/hwseta","followers_url":"https://api.github.com/users/hwseta/followers","following_url":"https://api.github.com/users/hwseta/following{/other_user}","gists_url":"https://api.github.com/users/hwseta/gists{/gist_id}","starred_url":"https://api.github.com/users/hwseta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwseta/subscriptions","organizations_url":"https://api.github.com/users/hwseta/orgs","repos_url":"https://api.github.com/users/hwseta/repos","events_url":"https://api.github.com/users/hwseta/events{/privacy}","received_events_url":"https://api.github.com/users/hwseta/received_events","type":"User","site_admin":false},"repo":{"id":145680459,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2ODA0NTk=","name":"hwseta_portal","full_name":"hwseta/hwseta_portal","private":false,"owner":{"login":"hwseta","id":42604030,"node_id":"MDQ6VXNlcjQyNjA0MDMw","avatar_url":"https://avatars1.githubusercontent.com/u/42604030?v=4","gravatar_id":"","url":"https://api.github.com/users/hwseta","html_url":"https://github.com/hwseta","followers_url":"https://api.github.com/users/hwseta/followers","following_url":"https://api.github.com/users/hwseta/following{/other_user}","gists_url":"https://api.github.com/users/hwseta/gists{/gist_id}","starred_url":"https://api.github.com/users/hwseta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwseta/subscriptions","organizations_url":"https://api.github.com/users/hwseta/orgs","repos_url":"https://api.github.com/users/hwseta/repos","events_url":"https://api.github.com/users/hwseta/events{/privacy}","received_events_url":"https://api.github.com/users/hwseta/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hwseta/hwseta_portal","description":"HWSETA ERP Portal","fork":false,"url":"https://api.github.com/repos/hwseta/hwseta_portal","forks_url":"https://api.github.com/repos/hwseta/hwseta_portal/forks","keys_url":"https://api.github.com/repos/hwseta/hwseta_portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwseta/hwseta_portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwseta/hwseta_portal/teams","hooks_url":"https://api.github.com/repos/hwseta/hwseta_portal/hooks","issue_events_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/events{/number}","events_url":"https://api.github.com/repos/hwseta/hwseta_portal/events","assignees_url":"https://api.github.com/repos/hwseta/hwseta_portal/assignees{/user}","branches_url":"https://api.github.com/repos/hwseta/hwseta_portal/branches{/branch}","tags_url":"https://api.github.com/repos/hwseta/hwseta_portal/tags","blobs_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwseta/hwseta_portal/statuses/{sha}","languages_url":"https://api.github.com/repos/hwseta/hwseta_portal/languages","stargazers_url":"https://api.github.com/repos/hwseta/hwseta_portal/stargazers","contributors_url":"https://api.github.com/repos/hwseta/hwseta_portal/contributors","subscribers_url":"https://api.github.com/repos/hwseta/hwseta_portal/subscribers","subscription_url":"https://api.github.com/repos/hwseta/hwseta_portal/subscription","commits_url":"https://api.github.com/repos/hwseta/hwseta_portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwseta/hwseta_portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwseta/hwseta_portal/contents/{+path}","compare_url":"https://api.github.com/repos/hwseta/hwseta_portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwseta/hwseta_portal/merges","archive_url":"https://api.github.com/repos/hwseta/hwseta_portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwseta/hwseta_portal/downloads","issues_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues{/number}","pulls_url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls{/number}","milestones_url":"https://api.github.com/repos/hwseta/hwseta_portal/milestones{/number}","notifications_url":"https://api.github.com/repos/hwseta/hwseta_portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwseta/hwseta_portal/labels{/name}","releases_url":"https://api.github.com/repos/hwseta/hwseta_portal/releases{/id}","deployments_url":"https://api.github.com/repos/hwseta/hwseta_portal/deployments","created_at":"2018-08-22T08:36:24Z","updated_at":"2018-08-22T08:53:13Z","pushed_at":"2018-12-10T21:33:47Z","git_url":"git://github.com/hwseta/hwseta_portal.git","ssh_url":"git@github.com:hwseta/hwseta_portal.git","clone_url":"https://github.com/hwseta/hwseta_portal.git","svn_url":"https://github.com/hwseta/hwseta_portal","homepage":null,"size":71468,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":65,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":65,"watchers":0,"default_branch":"master"}},"base":{"label":"hwseta:master","ref":"master","sha":"36e821b8535ff289a8374fe1c40f233019edb499","user":{"login":"hwseta","id":42604030,"node_id":"MDQ6VXNlcjQyNjA0MDMw","avatar_url":"https://avatars1.githubusercontent.com/u/42604030?v=4","gravatar_id":"","url":"https://api.github.com/users/hwseta","html_url":"https://github.com/hwseta","followers_url":"https://api.github.com/users/hwseta/followers","following_url":"https://api.github.com/users/hwseta/following{/other_user}","gists_url":"https://api.github.com/users/hwseta/gists{/gist_id}","starred_url":"https://api.github.com/users/hwseta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwseta/subscriptions","organizations_url":"https://api.github.com/users/hwseta/orgs","repos_url":"https://api.github.com/users/hwseta/repos","events_url":"https://api.github.com/users/hwseta/events{/privacy}","received_events_url":"https://api.github.com/users/hwseta/received_events","type":"User","site_admin":false},"repo":{"id":145680459,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2ODA0NTk=","name":"hwseta_portal","full_name":"hwseta/hwseta_portal","private":false,"owner":{"login":"hwseta","id":42604030,"node_id":"MDQ6VXNlcjQyNjA0MDMw","avatar_url":"https://avatars1.githubusercontent.com/u/42604030?v=4","gravatar_id":"","url":"https://api.github.com/users/hwseta","html_url":"https://github.com/hwseta","followers_url":"https://api.github.com/users/hwseta/followers","following_url":"https://api.github.com/users/hwseta/following{/other_user}","gists_url":"https://api.github.com/users/hwseta/gists{/gist_id}","starred_url":"https://api.github.com/users/hwseta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwseta/subscriptions","organizations_url":"https://api.github.com/users/hwseta/orgs","repos_url":"https://api.github.com/users/hwseta/repos","events_url":"https://api.github.com/users/hwseta/events{/privacy}","received_events_url":"https://api.github.com/users/hwseta/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hwseta/hwseta_portal","description":"HWSETA ERP Portal","fork":false,"url":"https://api.github.com/repos/hwseta/hwseta_portal","forks_url":"https://api.github.com/repos/hwseta/hwseta_portal/forks","keys_url":"https://api.github.com/repos/hwseta/hwseta_portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwseta/hwseta_portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwseta/hwseta_portal/teams","hooks_url":"https://api.github.com/repos/hwseta/hwseta_portal/hooks","issue_events_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/events{/number}","events_url":"https://api.github.com/repos/hwseta/hwseta_portal/events","assignees_url":"https://api.github.com/repos/hwseta/hwseta_portal/assignees{/user}","branches_url":"https://api.github.com/repos/hwseta/hwseta_portal/branches{/branch}","tags_url":"https://api.github.com/repos/hwseta/hwseta_portal/tags","blobs_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwseta/hwseta_portal/statuses/{sha}","languages_url":"https://api.github.com/repos/hwseta/hwseta_portal/languages","stargazers_url":"https://api.github.com/repos/hwseta/hwseta_portal/stargazers","contributors_url":"https://api.github.com/repos/hwseta/hwseta_portal/contributors","subscribers_url":"https://api.github.com/repos/hwseta/hwseta_portal/subscribers","subscription_url":"https://api.github.com/repos/hwseta/hwseta_portal/subscription","commits_url":"https://api.github.com/repos/hwseta/hwseta_portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwseta/hwseta_portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwseta/hwseta_portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwseta/hwseta_portal/contents/{+path}","compare_url":"https://api.github.com/repos/hwseta/hwseta_portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwseta/hwseta_portal/merges","archive_url":"https://api.github.com/repos/hwseta/hwseta_portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwseta/hwseta_portal/downloads","issues_url":"https://api.github.com/repos/hwseta/hwseta_portal/issues{/number}","pulls_url":"https://api.github.com/repos/hwseta/hwseta_portal/pulls{/number}","milestones_url":"https://api.github.com/repos/hwseta/hwseta_portal/milestones{/number}","notifications_url":"https://api.github.com/repos/hwseta/hwseta_portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwseta/hwseta_portal/labels{/name}","releases_url":"https://api.github.com/repos/hwseta/hwseta_portal/releases{/id}","deployments_url":"https://api.github.com/repos/hwseta/hwseta_portal/deployments","created_at":"2018-08-22T08:36:24Z","updated_at":"2018-08-22T08:53:13Z","pushed_at":"2018-12-10T21:33:47Z","git_url":"git://github.com/hwseta/hwseta_portal.git","ssh_url":"git@github.com:hwseta/hwseta_portal.git","clone_url":"https://github.com/hwseta/hwseta_portal.git","svn_url":"https://github.com/hwseta/hwseta_portal","homepage":null,"size":71468,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":65,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":65,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67"},"html":{"href":"https://github.com/hwseta/hwseta_portal/pull/67"},"issue":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/issues/67"},"comments":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/hwseta/hwseta_portal/statuses/6e40d7392df968fceea18b9261d120e12aaa839f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"pyup-bot"}}