Skip to content

Commit

Permalink
Update _bigger_block_size_http_adapters.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 authored Feb 8, 2021
1 parent 561e971 commit 1cd5770
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ def get_connection(self, url, proxies=None):
conn = super(BiggerBlockSizeHTTPAdapter, self).get_connection(url, proxies)
system_version = tuple(sys.version_info)[:3]
if system_version[:2] >= (3, 7):
if not conn.conn_kw:
conne.conn_kw = {}

This comment has been minimized.

Copy link
@sihde

sihde Feb 8, 2021

typo ? conn vs conne?

conn.conn_kw['blocksize'] = 32768
return conn

0 comments on commit 1cd5770

Please sign in to comment.