Lines Matching refs:uri
180 $uri = parse_url($url);
181 $server = $uri['host'];
182 $path = empty($uri['path']) ? '/' : $uri['path'];
183 $uriPort = empty($uri['port']) ? null : $uri['port'];
184 if (!empty($uri['query'])) $path .= '?' . $uri['query'];
185 if (isset($uri['user'])) $this->user = $uri['user'];
186 if (isset($uri['pass'])) $this->pass = $uri['pass'];
197 $port = $uriPort ?: ($uri['scheme'] == 'https' ? 443 : 80);
198 $use_tls = ($uri['scheme'] == 'https');
212 $headers['Host'] = $uri['host']
370 $this->resp_headers['location'] = $uri['scheme'] . '://' . $uri['host'] . ':' . $uriPort .
373 $this->resp_headers['location'] = $uri['scheme'] . '://' . $uri['host'] . ':' . $uriPort .