function openid_test_yadis_x_xrds_location in Drupal 7
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 - 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.');
}