Lines Matching refs:headers
86 private $headers;
134 $this->error('Response default headers not found');
264 $headers = $this->getHeaders();
265 if (is_null($status) && !isset($headers['status'])) {
268 if (!is_null($status) && !isset($headers['status'])) {
270 } elseif ($status !== $headers['status']) {
272 $this->error("Status is $statusMessage but the actual value is {$headers['status']}");
375 * Check default headers that should be present.
383 // check default headers
402 $headers = $this->getHeaders();
403 if ( ! isset($headers[$lcName])) {
406 $header = $headers[$lcName];
430 $headers = $this->getHeaders();
431 if (isset($headers[$lcName])) {
439 * Get all headers.
449 if (is_array($this->headers)) {
450 return $this->headers;
454 $headers = [];
460 $headers[strtolower(substr($headerRow, 0, $colonPosition))] = trim(
465 return ($this->headers = $headers);