Loading lib/galaxy/web/framework/base.py +2 −2 Original line number Diff line number Diff line Loading @@ -498,10 +498,10 @@ def send_file(start_response, trans, body): if base: trans.response.headers['X-Accel-Redirect'] = \ base + os.path.abspath(body.name) body = [""] body = [b""] elif apache_xsendfile: trans.response.headers['X-Sendfile'] = os.path.abspath(body.name) body = [""] body = [b""] # Fall back on sending the file in chunks else: body = iterate_file(body) Loading Loading
lib/galaxy/web/framework/base.py +2 −2 Original line number Diff line number Diff line Loading @@ -498,10 +498,10 @@ def send_file(start_response, trans, body): if base: trans.response.headers['X-Accel-Redirect'] = \ base + os.path.abspath(body.name) body = [""] body = [b""] elif apache_xsendfile: trans.response.headers['X-Sendfile'] = os.path.abspath(body.name) body = [""] body = [b""] # Fall back on sending the file in chunks else: body = iterate_file(body) Loading