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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page