|
[Webware-checkins] r7834 - Webware/trunk/WebKit
From: <updates@we...> - 2009-03-20 14:15
|
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']
|
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] r7834 - Webware/trunk/WebKit | <updates@we...> |