diff options
| author | Quentin Pradet <quentin.pradet@gmail.com> | 2019-11-07 20:59:41 +0400 |
|---|---|---|
| committer | Seth Michael Larson <sethmichaellarson@gmail.com> | 2019-11-07 10:59:41 -0600 |
| commit | 5dce4e0153ff08da6a05f6d2f07cdf7bbb82468b (patch) | |
| tree | 51c1b000bf10e740f976e062b75d5144e957e7c6 /src | |
| parent | 188c03eccc508398ab0a0a4c1e79d5ee80734aca (diff) | |
| download | urllib3-5dce4e0153ff08da6a05f6d2f07cdf7bbb82468b.tar.gz | |
Preserve chunked parameter on broken connections and redirects (#1734)
Diffstat (limited to 'src')
| -rw-r--r-- | src/urllib3/connectionpool.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/urllib3/connectionpool.py b/src/urllib3/connectionpool.py index 3fed831f..31696460 100644 --- a/src/urllib3/connectionpool.py +++ b/src/urllib3/connectionpool.py @@ -755,6 +755,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): timeout=timeout, pool_timeout=pool_timeout, release_conn=release_conn, + chunked=chunked, body_pos=body_pos, **response_kw ) @@ -806,6 +807,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): timeout=timeout, pool_timeout=pool_timeout, release_conn=release_conn, + chunked=chunked, body_pos=body_pos, **response_kw ) |
