You are here

function authcache_test_change_vary in Authenticated User Page Caching (Authcache) 7.2

Change vary.

1 string reference to 'authcache_test_change_vary'
authcache_test_menu in tests/authcache_test.module
Implements hook_menu().

File

tests/authcache_test.module, line 266
Mock module to aid in testing authcache.module.

Code

function authcache_test_change_vary() {

  // Specify a custom Vary-header.
  drupal_add_http_header('Vary', 'Shoe-Size');
  return '42';
}