You are here

function authcache_test_file_transfer in Authenticated User Page Caching (Authcache) 7.2

Private file transfer.

3 string references to 'authcache_test_file_transfer'
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 237
Mock module to aid in testing authcache.module.

Code

function authcache_test_file_transfer() {
  list($uri, $headers) = variable_get('authcache_test_file_transfer');
  file_transfer($uri, $headers);
}