You are here

public function RestfulBase::getHttpHeaders in RESTful 7

Return array keyed by the header property, and the value.

This can be used for example to change the "Status" code of the HTTP response, or to add a "Location" property.

Return value

array

Overrides RestfulInterface::getHttpHeaders

1 call to RestfulBase::getHttpHeaders()
RestfulBase::addHttpHeaders in plugins/restful/RestfulBase.php
Add the a value to a multi-value HTTP header.

File

plugins/restful/RestfulBase.php, line 351
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function getHttpHeaders() {
  return $this->httpHeaders;
}