Lines Matching refs:headers
32 private $headers;
176 $headers = $this->getHeaders();
177 if (is_null($status) && !isset($headers['status'])) {
180 if (!is_null($status) && !isset($headers['status'])) {
182 } elseif ($status !== $headers['status']) {
184 $this->error("Status is $statusMessage but the actual value is {$headers['status']}");
284 * Check default headers that should be present.
292 // check default headers
311 $headers = $this->getHeaders();
312 if ( ! isset($headers[$lcName])) {
315 $header = $headers[$lcName];
333 * Get all headers.
343 if (is_array($this->headers)) {
344 return $this->headers;
348 $headers = [];
354 $headers[strtolower(substr($headerRow, 0, $colonPosition))] = trim(
359 return ($this->headers = $headers);