Class RobotWebHandler
Base WebHandler class for various types of robots.
Declaration
class RobotWebHandler(BaseHTTPRequestHandler)
source linkDocumentation
RobotWebHandler's do_GET() will serve files, it is up to the child class to handle REST APIish GETs via their do_GET()
self.robot is populated in RobotWebServer.__init__()
Methods
▶ def do_GET(self) If the request is for a known file type serve the file (or send a 404) and return True
Overrides
This method is overriden in:
▷ def log_message(self, format, *args) log using our own handler instead of BaseHTTPServer's
Subclasses