Skip to content

Fails when secure=False: FoldCaseDict instance has no attribute 'copy' #488

@hashbackup

Description

@hashbackup

Here's a traceback:

  File "minio/api.py", line 958, in list_objects
    headers=headers)
  File "minio/api.py", line 1845, in _url_open
    preload_content=preload_content)
  File "urllib3/poolmanager.py", line 161, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "urllib3/connectionpool.py", line 538, in urlopen
    headers = headers.copy()
AttributeError: FoldCaseDict instance has no attribute 'copy'

I'm using urllib3 that comes bundled with requests version 2.8.1. I wasn't sure the right way to handle this since minio also wants to import urllib3 directly, so made a symlink: ln -s requests/packages/urllib3 . This is for a static build of HashBackup.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions