We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab38347 commit e9d9410Copy full SHA for e9d9410
src/dicomweb_client/__init__.py
@@ -1,4 +1,4 @@
1
-__version__ = '0.41.1'
+__version__ = '0.41.2'
2
3
4
from dicomweb_client.api import DICOMwebClient
src/dicomweb_client/api.py
@@ -403,7 +403,7 @@ def __init__(
403
self._session.proxies = proxies
404
if callback is not None:
405
self._session.hooks = {'response': [callback, ]}
406
- if chunk_size is not None:
+ if chunk_size is None:
407
# There is a bug in the requests library that sets the Host header
408
# again when using chunked transer encoding. Apparently this is
409
# tricky to fix (see https://github.com/psf/requests/issues/4392).
0 commit comments