def unhook(subdir):
    global http_servers
    assert isinstance(http_servers, list)
    for server in http_servers:
        server.unhook(subdir)
        if len(server.callbacks) <= 0 and not configGroup.keepAlive():
            server.shutdown()
            http_servers.remove(server)
Unsets the callback assigned to the given subdir, and return it.
dataset/ETHPy150Open ProgVal/Limnoria/src/httpserver.py/unhook