@J12t
The http.server
package might fit the bill.
import http.server
import socketserver
PORT = 8080
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer( ("", PORT), Handler) as httpd:
print( "Serving on port", PORT )
httpd.serve_forever()
@DopeGhoti does it speak http 2? I could see anything about that in docs.