Lines Matching refs:uri
183 $uri = parse_url($url);
184 $server = $uri['host'];
185 $path = !empty($uri['path']) ? $uri['path'] : '/';
186 $uriPort = !empty($uri['port']) ? $uri['port'] : null;
187 if(!empty($uri['query'])) $path .= '?'.$uri['query'];
188 if(isset($uri['user'])) $this->user = $uri['user'];
189 if(isset($uri['pass'])) $this->pass = $uri['pass'];
200 $port = $uriPort ?: ($uri['scheme'] == 'https' ? 443 : 80);
201 $use_tls = ($uri['scheme'] == 'https');
215 $headers['Host'] = $uri['host']
376 $this->resp_headers['location'] = $uri['scheme'].'://'.$uri['host'].':'.$uriPort.
379 $this->resp_headers['location'] = $uri['scheme'].'://'.$uri['host'].':'.$uriPort.