From: <wa...@us...> - 2008-05-15 17:14:42
|
Revision: 1454 http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1454&view=rev Author: warnes Date: 2008-05-15 10:14:15 -0700 (Thu, 15 May 2008) Log Message: ----------- Attempt to fix bug report 1238095 Modified Paths: -------------- trunk/SOAPpy/SOAPpy/Server.py Modified: trunk/SOAPpy/SOAPpy/Server.py =================================================================== --- trunk/SOAPpy/SOAPpy/Server.py 2008-05-15 17:02:00 UTC (rev 1453) +++ trunk/SOAPpy/SOAPpy/Server.py 2008-05-15 17:14:15 UTC (rev 1454) @@ -558,7 +558,7 @@ self.connection.shutdown(1) def do_GET(self): - + #print 'command ', self.command #print 'path ', self.path #print 'request_version', self.request_version @@ -567,7 +567,7 @@ #print ' maintype', self.headers.maintype #print ' subtype ', self.headers.subtype #print ' params ', self.headers.plist - + path = self.path.lower() if path.endswith('wsdl'): method = 'wsdl' @@ -581,7 +581,7 @@ l = method.split(".") for i in l: function = getattr(function, i) - + if function: self.send_response(200) self.send_header("Content-type", 'text/plain') @@ -589,7 +589,7 @@ response = apply(function, ()) self.wfile.write(str(response)) return - + # return error self.send_response(200) self.send_header("Content-type", 'text/html') @@ -613,8 +613,8 @@ </body>''') + - def log_message(self, format, *args): if self.server.log: BaseHTTPServer.BaseHTTPRequestHandler.\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |