Skip to main content

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

Release files for AdvancedHTTPServer 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AdvancedHTTPServer 2.2.0
File Size Uploaded
AdvancedHTTPServer-2.2.0.tar.gz 25.2 kB Details

Release files / AdvancedHTTPServer-2.2.0.tar.gz

Download URL AdvancedHTTPServer-2.2.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
be152c6db04f67064b2f50710cacff70cdcef4619a501fa2614934029eb3fac1
BLAKE2b-256 checksum
How to use checksums
aa7a71cb05d6f5924ecd398301e85de8543e9356118d8795907f31492ef4c226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

2.2.0 This release

1 release file

2.1.0

1 release file

2.0.11

1 release file

2.0.10

1 release file

2.0.9

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.4.2

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.2.63

1 release file

0.2.54

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page