1 system_test.module system_test_set_header()

File

core/modules/simpletest/tests/system_test.module, line 245
Test module for system functions.

Code

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