You are here

public function AuthcacheP13nTestCoreServiceStub::drupalAddHttpHeader in Authenticated User Page Caching (Authcache) 7.2

Sets an HTTP response header for the current page.

Overrides AuthcacheP13nCoreServiceInterface::drupalAddHttpHeader

See also

drupal_add_http_header()

File

modules/authcache_p13n/tests/authcache_p13n.stub.inc, line 208
Stub classes for testing.

Class

AuthcacheP13nTestCoreServiceStub
Stub class for core services.

Code

public function drupalAddHttpHeader($name, $value, $append = FALSE) {
  return $this->observer
    ->record($this, __FUNCTION__, func_get_args());
}