better docs for get_request_func