<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_request(host_name, request):
 """ Sends a PServer url request. Inputs: - host_name: A string containing the address of the machine where the PServer instance is hosted. - request: The url request. """

    request = "%s%s" % (host_name, request)
    # print(request)
    try:
        result = requests.get(request)
        if result.status_code == 200:
            return result
        else:
            # print(result.status_code)
            raise Exception
    except Exception as e:
        # print(e)
        raise e