Skip to main content

A standalone web server built on Python's BaseHTTPServer.

Project description

Standalone web server built on Python’s BaseHTTPServer

Build Status Documentation Status Github Issues PyPi Release

License

AdvancedHTTPServer is released under the BSD 3-clause license, for more details see the LICENSE file.

Features

AdvancedHTTPServer builds on top of Python’s included BaseHTTPServer and provides out of the box support for additional commonly needed features such as: - Threaded request handling - Binding to multiple interfaces - SSL and SNI support - Registering handler functions to HTTP resources - A default robots.txt file - Basic authentication - The HTTP verbs GET, HEAD, POST, and OPTIONS - Remote Procedure Call (RPC) over HTTP - WebSockets

Dependencies

AdvancedHTTPServer does not have any additional dependencies outside of the Python standard library.

The following version of Python are currently supported:

  • Python 2.7

  • Python 3.3

  • Python 3.4

  • Python 3.5

  • Python 3.6

  • Python 3.7

Code Documentation

AdvancedHTTPServer uses Sphinx for internal code documentation. This documentation can be generated from source with the command sphinx-build docs/source docs/html. The latest documentation is kindly hosted on ReadTheDocs at advancedhttpserver.readthedocs.io.

Changes In Version 2.0

  • The AdvancedHTTPServer module has been renamed advancedhttpserver

  • Classes prefixed with AdvancedHTTPServer have been renamed to have the redundant prefix removed

  • The hmac_key option is no longer supported

  • A single AdvancedHTTPServer instance can now be bound to multiple ports

  • The RequestHandler.install_handlers method has been renamed to on_init

  • SERIALIZER_DRIVERS was renamed to g_serializer_drivers

  • Support for multiple hostnames with SSL using the SNI extension

  • Support for persistent HTTP 1.1 TCP connections

Powered By AdvancedHTTPServer

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

AdvancedHTTPServer-2.1.0.tar.gz (25.3 kB view details)

Uploaded Source

File details

Details for the file AdvancedHTTPServer-2.1.0.tar.gz.

File metadata

  • Download URL: AdvancedHTTPServer-2.1.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for AdvancedHTTPServer-2.1.0.tar.gz
Algorithm Hash digest
SHA256 2dd28a788aaaebcf7aa7a2bfb788e6bdbf02f85684e5c0ac27b588b15288e479
MD5 00c2fb74ba5ba966d0633ad651369614
BLAKE2b-256 d293cba85476b6ac98b8eeb10c3a09356eb3137454da7be60fa47e85b7f359ca

See more details on using hashes here.

Provenance

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