Lines Matching refs:resp_headers

44     public $resp_headers;
164 $this->resp_headers = [];
335 $this->resp_headers = $this->parseHeaders($r_headers);
336 if (isset($this->resp_headers['set-cookie'])) {
337 foreach ((array)$this->resp_headers['set-cookie'] as $cookie) {
351 $this->debug('Object headers', $this->resp_headers);
355 if (empty($this->resp_headers['location'])) {
368 if (!preg_match('/^http/i', $this->resp_headers['location'])) {
369 if ($this->resp_headers['location'][0] != '/') {
370 $this->resp_headers['location'] = $uri['scheme'] . '://' . $uri['host'] . ':' . $uriPort .
371 dirname($path) . '/' . $this->resp_headers['location'];
373 $this->resp_headers['location'] = $uri['scheme'] . '://' . $uri['host'] . ':' . $uriPort .
374 $this->resp_headers['location'];
379 return $this->sendRequest($this->resp_headers['location'], $unencodedData, $method);
382 return $this->sendRequest($this->resp_headers['location'], [], 'GET');
395 isset($this->resp_headers['transfer-encoding']) &&
396 $this->resp_headers['transfer-encoding'] == 'chunked'
398 isset($this->resp_headers['transfer-coding']) &&
399 $this->resp_headers['transfer-coding'] == 'chunked'
428 isset($this->resp_headers['content-length']) &&
429 !isset($this->resp_headers['transfer-encoding'])
441 $this->max_bodysize < $this->resp_headers['content-length']
445 $length = $this->resp_headers['content-length'];
449 } elseif (!isset($this->resp_headers['transfer-encoding']) && $this->max_bodysize && !$this->keep_alive) {
481 (isset($this->resp_headers['connection']) && $this->resp_headers['connection'] == 'Close')
490 isset($this->resp_headers['content-encoding']) &&
491 $this->resp_headers['content-encoding'] == 'gzip' &&