Async static HTTP server.
Project description
Introduction
A socket-based static HTTP server, Support for asynchronous.(Does not support python2)
Install
pip install tinyhttp
Usage
Asynchrous
python -m tinyhttp # or tinyhttp
Multi-Thread
python -m tinyhttp.thread
Set Port(The defalut port is 6789.)
python -m tinyhttp.thread 6666
Debug mode
python -m tinyhttp --debug
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinyhttp-1.0.1.tar.gz
(4.0 kB
view hashes)