diff --git a/lib/core/option.py b/lib/core/option.py index 158f5ee2c..2b241a966 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -2606,12 +2606,14 @@ def initOptions(inputOptions=AttribDict(), overrideOptions=False): _mergeOptions(inputOptions, overrideOptions) def _setHttpChunked(): + conf.chunk = conf.chunk and conf.data if conf.chunk: def hook(self, a, b): pass httplib.HTTPConnection._set_content_length = hook + def init(): """ Set attributes into both configuration and knowledge base singletons