Mar 20, 2016 · The standard Python library has a built-in module that can be used as minimalistic HTTP/HTTPS web server. It provides support of the protocol and allows you to extend capabilities by subclassing. Simple Python HTTP(S) Server — Example · AnvilEight Blog Check out other related tutorials and SQL Server features! Check out what's new with SQL Server + Python on Channel 9 Browse more SQL Server code samples (In-Memory, Dynamic Data Masking, R, etc.) on our GitHub repository Apr 25, 2018 · To test the code, run it on your Python environment of choice. If you are using IDLE, you can check this previous post on how to run Python scripts. Once you run the code, you should get an output similar to figure 2. Note that the debugging messages indicates that the server is listening on the 127.0.0.1 IP, on port 8090. class http.server.BaseHTTPRequestHandler (request, client_address, server) ¶ This class is used to handle the HTTP requests that arrive at the server. By itself, it cannot respond to any actual HTTP requests; it must be subclassed to handle each request method (e.g. GET or POST).