1.1 --- a/README.txt Sat Jul 16 14:39:34 2005 +0000
1.2 +++ b/README.txt Sat Jul 16 15:01:34 2005 +0000
1.3 @@ -59,6 +59,8 @@
1.4 Fixed end of header newlines for CGI (suggested by Matt Harrison).
1.5 Minor documentation fixes and improvements, adding information on AOLserver in
1.6 the CGI and Webware notes.
1.7 +Changed the mod_python server name method to use the server object rather than
1.8 +the connection object.
1.9
1.10 New in WebStack 0.9 (Changes since WebStack 0.8)
1.11 ------------------------------------------------
2.1 --- a/WebStack/ModPython.py Sat Jul 16 14:39:34 2005 +0000
2.2 +++ b/WebStack/ModPython.py Sat Jul 16 15:01:34 2005 +0000
2.3 @@ -82,7 +82,7 @@
2.4
2.5 "Returns the server name."
2.6
2.7 - return self.trans.connection.local_addr[0]
2.8 + return self.trans.server.server_hostname
2.9
2.10 def get_server_port(self):
2.11