Author: jan
Date: 2006-11-19 19:06:21 -0600 (Sun, 19 Nov 2006)
New Revision: 9051
Modified:
trunk/gnue-forms/src/uidrivers/html/GFServer.py
Log:
last changes for today :)
Modified: trunk/gnue-forms/src/uidrivers/html/GFServer.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/html/GFServer.py 2006-11-20 00:58:56 UTC
(rev 9050)
+++ trunk/gnue-forms/src/uidrivers/html/GFServer.py 2006-11-20 01:06:21 UTC
(rev 9051)
@@ -317,7 +317,8 @@
def push_content(self, response, content_type="text/html"):
if type(response)==UnicodeType:
- response.encode('utf-8')
+ response = response.encode('utf-8')
+
self.send_response (200, flush = False)
self.send_header ("Content-type", content_type, flush = False)
self.send_header ("Content-length", str (len (response)), flush =
False)
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue