Lines Matching refs:headers
86 private $headers;
134 $this->error('Response default headers not found');
287 $headers = $this->getHeaders();
288 if (is_null($status) && !isset($headers['status'])) {
291 if (!is_null($status) && !isset($headers['status'])) {
293 } elseif ($status !== $headers['status']) {
295 $this->error("Status is $statusMessage but the actual value is {$headers['status']}");
398 * Check default headers that should be present.
406 // check default headers
425 $headers = $this->getHeaders();
426 if ( ! isset($headers[$lcName])) {
429 $header = $headers[$lcName];
453 $headers = $this->getHeaders();
454 if (isset($headers[$lcName])) {
462 * Get all headers.
472 if (is_array($this->headers)) {
473 return $this->headers;
477 $headers = [];
483 $headers[strtolower(substr($headerRow, 0, $colonPosition))] = trim(
488 return ($this->headers = $headers);