Skip to content
Permalink
Browse files Browse the repository at this point in the history
vhost bugfix...
git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@53 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
  • Loading branch information
glyph committed Jul 23, 2001
1 parent 39037ef commit f49041b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twisted/web/vhost.py
Expand Up @@ -34,7 +34,7 @@ def _getResourceForRequest(self, request):
"""(Internal) Get the appropriate resource for the given host.
"""
host = string.lower(request.getHeader('host'))
return self.hosts.get(host, error.NoResource())
return self.hosts.get(host, error.NoResource("host %s not in vhost map" % repr(host)))

def render(self, request):
"""Implementation of resource.Resource's render method.
Expand Down

0 comments on commit f49041b

Please sign in to comment.