Browse Source

Send correct headers on range/HEAD request

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

2
servefile

@ -321,7 +321,7 @@ class DirListingHandler(FileBaseHandler): @@ -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