function openid_test_yadis_x_xrds_location
7.x openid_test.module | 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 drupal-7.x/
modules/ openid/ tests/ openid_test.module - Implements hook_menu().
File
- drupal-7.x/
modules/ openid/ tests/ openid_test.module, line 176 - Dummy OpenID Provider used with SimpleTest.
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.');
}