'Handle receiving a request whose path is \'*\'.
RFC 7231 defines an OPTIONS * request as being something that a client
can send as a low-effort way to probe server capabilities or readiness.
Rather than bother the user with this, we simply fast-path it back to
an empty 200 OK. Any non-OPTIONS verb gets a 405 Method Not Allowed
telling the client they can only use OPTIONS.'

def _handleStar(self):

    if (self.method == 'OPTIONS'):
        self.setResponseCode(http.OK)
    else:
        self.setResponseCode(http.NOT_ALLOWED)
        self.setHeader('Allow', 'OPTIONS')
    self.setHeader('Content-Length', '0')
    self.finish()
