Send correct headers on range/HEAD request

tests
Sebastian Lohff 8 years ago
parent cb4ebb017f
commit 0c781c2b73
  1. 2
      servefile

@ -321,7 +321,7 @@ class DirListingHandler(FileBaseHandler):
self.end_headers()
else:
self.send_response(200)
self.sendContentHeaders(self, path, length)
self.sendContentHeaders(path, length)
self.end_headers()
else:
self.sendFile(path, head)

Loading…
Cancel
Save