diff Lib/SimpleXMLRPCServer.py @ 44234:a5c4739121e1

Fixed two of the three failing xml rpc tests
author Christian Heimes <christian@cheimes.de>
date Sat, 08 Dec 2007 18:38:20 +0000
parents 092b5306983f
children aca5c1d1c569
line wrap: on
line diff
--- a/Lib/SimpleXMLRPCServer.py	Sat Dec 08 18:27:16 2007 +0000
+++ b/Lib/SimpleXMLRPCServer.py	Sat Dec 08 18:38:20 2007 +0000
@@ -479,7 +479,7 @@
     def report_404 (self):
             # Report a 404 error
         self.send_response(404)
-        response = 'No such page'
+        response = b'No such page'
         self.send_header("Content-type", "text/plain")
         self.send_header("Content-length", str(len(response)))
         self.end_headers()