Lines Matching refs:headers
86 private $headers;
134 $this->error('Response default headers not found');
253 $headers = $this->getHeaders();
254 if (is_null($status) && !isset($headers['status'])) {
257 if (!is_null($status) && !isset($headers['status'])) {
259 } elseif ($status !== $headers['status']) {
261 $this->error("Status is $statusMessage but the actual value is {$headers['status']}");
364 * Check default headers that should be present.
372 // check default headers
391 $headers = $this->getHeaders();
392 if ( ! isset($headers[$lcName])) {
395 $header = $headers[$lcName];
413 * Get all headers.
423 if (is_array($this->headers)) {
424 return $this->headers;
428 $headers = [];
434 $headers[strtolower(substr($headerRow, 0, $colonPosition))] = trim(
439 return ($this->headers = $headers);