Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 474 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 474 Bytes

FileHTTPServer

This server is intended to serve only one selected file or directory as answer to all the requests. To every request it starts a new thread.

Sending directories is realised with on the fly zip compression.

Syntax

It's the same on files and directories.

FileHTTPServer.py /path/to/file

Todos

  • Limit the possible number of threads paralell threads.
  • Cache zipped directory content to reduce the compression's performance requirement.