

def pre_request(self, request_headers):
    'Called just before the HTTP request is sent.\n\n        Might alter `request_headers`.\n\n        :type request_headers: dict\n\n        '
    request_headers['Accept-Encoding'] = None
    if self._resume:
        bytes_have = os.path.getsize(self._output_file.name)
        if bytes_have:
            bytes_have['Range'] = ('bytes=%d-' % bytes_have)
            self._resumed_from = bytes_have

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/httpie/downloads.py Download.pre_request/VarMisuse@48/117 `request_headers`->`bytes_have`