Lines Matching defs:headers
78 * Key/value pairs of the headers
82 public $headers = [];
191 $this->headers = [];
275 if (isset($this->headers[$this->name]) && $this->name !== 'content-type') {
276 $this->headers[$this->name] .= ', ' . $this->value;
278 $this->headers[$this->name] = $this->value;
433 if (!empty($this->headers['transfer-encoding'])) {
434 unset($this->headers['transfer-encoding']);
464 // Ignore trailer headers
486 * Prepare headers (take care of proxies headers)
488 * @param string $headers Raw headers
493 public static function prepareHeaders($headers, $count = 1)
495 $data = explode("\r\n\r\n", $headers, $count);