Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 826 Bytes

README.md

File metadata and controls

55 lines (38 loc) · 826 Bytes

Web-server

Version

Install

pip install .

Usage

Show help

python3 -m webserver -h

Get config file with default values

python3 -m webserver -g output_file

Run server with config file

python3 -m webserver -c config_file

Run tests

python3 -m unittest

Features

  • proxy_pass
  • serve static files / directories with a cache of open files
  • auto-index for catalogs
  • logging requests
  • virtual servers
  • support for keep-alive connections
  • launch of python functions to certain request paths
  • configuration via config file
  • multithreading

Author

👤 Artyom Borisov