Skip to main content

Async static HTTP server.

Project description

Python-version License

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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page