function authcache_test_headers_sent in Authenticated User Page Caching (Authcache) 7.2
Headers sent.
3 string references to 'authcache_test_headers_sent'
- AuthcachePolicyTestCase::testDefaultCancelationRules in ./
authcache.test - Test builtin standard cache cancelation rules.
- AuthcacheWebTestCase::resetTestVariables in ./
authcache.test - Reset the variables used for communicating to authcache_test module.
- authcache_test_menu in tests/
authcache_test.module - Implements hook_menu().
File
- tests/
authcache_test.module, line 221 - Mock module to aid in testing authcache.module.
Code
function authcache_test_headers_sent() {
foreach (variable_get('authcache_test_headers_sent') as $header => $value) {
drupal_add_http_header($header, $value);
}
while (ob_get_level()) {
ob_end_flush();
}
print 'mostly harmless';
drupal_exit();
}