diff options
Diffstat (limited to 'dash_server.py')
-rwxr-xr-x | dash_server.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dash_server.py b/dash_server.py index 5ed4fd2..836aebe 100755 --- a/dash_server.py +++ b/dash_server.py @@ -220,11 +220,8 @@ class DashRequestHandler(hs.BaseHTTPRequestHandler): ds = self.server._streams[local_path] except KeyError: if os.path.exists(outpath): + self._logger.info('serve local: %s', local_path) return self._serve_local(outpath) - # we managed to finalize the file after the upstream checked for it and before now - self.send_response(HTTPStatus.OK) - self.send_header('X-Accel-Redirect', self.path) - self.end_headers() else: self.send_error(HTTPStatus.NOT_FOUND) |