PyDocs

Nav

Internet Protocols and Support

HTTPServer

http.server

class (source) not WASI
  • HTTPServer(server_address, RequestHandlerClass)
This class builds on the TCPServer class by storing the server address as instance variables named server_name and server_port. The server is accessible by the handler, typically through the handler’s server instance variable.
Members of HTTPServer

s

server_name
The HTTP server’s fully qualified domain name.
server_port
The HTTP server’s port number obtained from server_address.
0 Examples
No examples for http.server/HTTPServer.
See Also
No see-alsos for http.server/HTTPServer
0 Notes
No notes for HTTPServer