You are here

function system_test_set_header in SimpleTest 7

1 string reference to 'system_test_set_header'
system_test_menu in tests/system_test.module
Implement hook_menu().

File

tests/system_test.module, line 118

Code

function system_test_set_header() {
  drupal_add_http_header($_GET['name'], $_GET['value']);
  return t('The following header was set: %name: %value', array(
    '%name' => $_GET['name'],
    '%value' => $_GET['value'],
  ));
}