Aug 28, 2012. Jan 06, 2019. Finally, a simple static desktop web server. Because simple stuff shouldn't need Apache, IIS, or NGINX. Available for Windows and Mac. Downloads To Date download now See it in Action. Click to fire up/kill static web servers. Auto-detects available ports.
Source code:Lib/http/server.py
This module defines classes for implementing HTTP servers (Web servers).
Warning
http.server is not recommended for production. It only implementsbasic security checks.
One class,
HTTPServer , is a socketserver.TCPServer subclass.It creates and listens at the HTTP socket, dispatching the requests to ahandler. Code to create and run the server looks like this:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |