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.1.0.tar.gz
(4.7 kB
view details)
File details
Details for the file tinyhttp-1.1.0.tar.gz.
File metadata
- Download URL: tinyhttp-1.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57151e1e97619748c697f9867a9e20864a30d30459fb2792f2784342e7b0c79a
|
|
| MD5 |
1dd0a4c4e3599fe2bd5ae21176698a57
|
|
| BLAKE2b-256 |
25ec1e3b286d2ee6bbf709a34ad9c66a810034a42a43d2d137d27b00ab6fa997
|