openid_test_yadis_x_xrds_location

7 openid_test.module openid_test_yadis_x_xrds_location()
8 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'

File

modules/openid/tests/openid_test.module, line 172
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.');
}
Login or register to post comments