Author: chrisz
Date: Fri Mar 20 08:14:48 2009
New Revision: 7834
Modified:
Webware/trunk/WebKit/HTTPRequest.py
Log:
Clarified docstring for request.hostAndPort().
Modified: Webware/trunk/WebKit/HTTPRequest.py
==============================================================================
--- Webware/trunk/WebKit/HTTPRequest.py (original)
+++ Webware/trunk/WebKit/HTTPRequest.py Fri Mar 20 08:14:48 2009
@@ -412,7 +412,7 @@
return self.isSecure() and 'https' or 'http'
def hostAndPort(self):
- """Return hostname and port of this request."""
+ """Return the hostname and port part from the URL of this request."""
env = self._environ
if env.has_key('HTTP_HOST'):
return env['HTTP_HOST']
|