Lines Matching defs:host
422 host = e.get('HTTP_HOST')
423 if host is not None:
424 if ':' in host:
425 host, port = host.split(':', 1)
439 The URL through the host (no path)
444 host = e.get('HTTP_HOST')
445 if host is not None:
446 if ':' in host:
447 host, port = host.split(':', 1)
451 host = e.get('SERVER_NAME')
459 url += host
483 The path of the request, without host or query string
492 host but with query string
659 """Host name provided in HTTP_HOST, with fall-back to SERVER_NAME"""
669 host = property(_host__get, _host__set, _host__del, doc=_host__get.__doc__)
673 """ Returns the domain portion of the host value. Equivalent to:
677 domain = request.host
687 Note that this value cannot be *set* on the request. To set the host
688 value use :meth:`webob.request.Request.host` instead.
690 domain = self.host
1137 host = self.host_url
1138 assert url.startswith(host)
1139 url = url[len(host):]
1141 #self.headers.setdefault('Host', self.host)
1368 host, port = netloc.split(':', 1)
1370 env['SERVER_NAME'] = host