function openid_test_yadis_x_xrds_location

Menu callback; regular HTML page with an X-XRDS-Location HTTP header.

1 string reference to 'openid_test_yadis_x_xrds_location'
openid_test_menu in modules/openid/tests/openid_test.module
Implements hook_menu().

File

modules/openid/tests/openid_test.module, line 177

Code

function openid_test_yadis_x_xrds_location() {
    drupal_add_http_header('X-XRDS-Location', url('openid-test/yadis/xrds', array(
        'absolute' => TRUE,
    )));
    return t('This page includes an X-RDS-Location HTTP header containing the URL of an XRDS document.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.