Auth_OpenID_TestFetcher::response PHP Method

response() public method

public response ( $url, $body )
    function response($url, $body)
    {
        if ($body === null) {
            return new Auth_Yadis_HTTPResponse($url, 404, array(), 'Not found');
        } else {
            return new Auth_Yadis_HTTPResponse($url, 200, array(), $body);
        }
    }