Skip to content

For emergencies, call +44 7537 179434 and press 0.

Static file server

httpit

Available

A Python C extension that serves static files with sendfile().

An HTTP server for static files, built as a Python C extension and started with one command or from Python code. It sends files with sendfile() and supports HTTP/1.1 keep-alive, range requests and IPv6. Options cover basic authentication, CORS headers, access logs, connection limits, virtual hosts and running as a daemon.

Who it is for. Developers and operators who need to serve a directory over HTTP from a machine that already has Python.

Status
Available
Part of
Open source
Licence
Open source, GNU GPL 2.0
Tags
PythonC extensionHTTP/1.1Static filesCLI

What it does

  • Written in C

    The server runs as a C extension and sends files with sendfile().

  • HTTP/1.1

    Keep-alive, range requests, IPv6 and virtual hosts.

  • Access control

    Basic authentication, a switch that turns off directory listings, and a limit on connections.

Documentation and access details are on the product site, github.com/rodmena-limited/httpit. For a pilot, an integration or procurement questions, contact us.