You are here

protected function EntityShareServerRestAbstract::sendHeaders in Entity Share 7

Send headers to the response.

2 calls to EntityShareServerRestAbstract::sendHeaders()
EntityShareServerRestAbstract::handle in modules/entity_share_server/includes/entity_share_server.rest.abstract.inc
Handle the server.
EntityShareServerRestAbstract::outputResponse in modules/entity_share_server/includes/entity_share_server.rest.abstract.inc
Output the response to the client.

File

modules/entity_share_server/includes/entity_share_server.rest.abstract.inc, line 382
Class for handling Entity Share Rest Server request.

Class

EntityShareServerRestAbstract
Abstract Class to manage the EntityShare Rest server.

Code

protected function sendHeaders() {
  foreach ($this->headers as $name => $value) {
    drupal_add_http_header($name, $value);
  }
}