def some_function():
    print('some_function got called')


class MyHandler(BaseHTTPRequestHandler):

    def do_GET(self):
        if self.path == '/captureImage':
            pass
Python respond to HTTP Request