human
I wrote the below code

    class ThreadingServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer, ):
        def server_bind(self):
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
            BaseHTTPServer.HTTPServer.server_bind(self)
        def finish_request(self, *args, **kwargs):
            try:
                BaseHTTPServer.HTTPServer.finish_request(self, *args, **kwargs)
            except:
                if config.SHOW_DEBUG:
                    traceback.print_exc()
    class SSLThreadingServer(ThreadingServer, ):
        def __init__(self, server_address, pem, HandlerClass):
            import OpenSSL
            ThreadingServer.__init__(self, server_address, HandlerClass)
            ctx = OpenSSL.SSL.Context(OpenSSL.SSL.TLSv1_METHOD)
            ctx.use_privatekey_file(pem)
            ctx.use_certificate_file(pem)
            self.socket = OpenSSL.SSL.Connection(ctx, socket.socket(self.address_family, self.socket_type))
            self.server_bind()
            self.server_activate()
        def shutdown_request(self, request):
            try:
                request.shutdown()
            except:
                if config.SHOW_DEBUG:
                    traceback.print_exc()
    class ReqHandler(BaseHTTPServer.BaseHTTPRequestHandler, ):
        def do_GET(self):
            (path, query) = (self.path.split('?', 1) if ('?' in self.path) else (self.path, ''))
            params = {}
            content = None
            skip = False
            if hasattr(self, 'data'):
                params.update(urlparse.parse_qs(self.data))
            if query:
                params.update(urlparse.parse_qs(query))
            for key in params:
                if params[key]:
                    params[key] = params[key][(-1)]
            if (path == '/'):
                path = 'index.html'
            path = path.strip('/')
            extension = os.path.splitext(path)[(-1)].lower()
            if hasattr(self, ('_%s' % path)):
                content = getattr(self, ('_%s' %...

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def start_httpd(address=None, port=None, join=False, pem=None):