[Checkins] SVN: z3c.json/trunk/src/z3c/json/proxy.py Encode if an
encoding is set
Roger Ineichen
roger at projekt01.ch
Sun Dec 2 00:56:54 EST 2007
Log message for revision 82074:
Encode if an encoding is set
Changed:
U z3c.json/trunk/src/z3c/json/proxy.py
-=-
Modified: z3c.json/trunk/src/z3c/json/proxy.py
===================================================================
--- z3c.json/trunk/src/z3c/json/proxy.py 2007-12-01 20:42:41 UTC (rev 82073)
+++ z3c.json/trunk/src/z3c/json/proxy.py 2007-12-02 05:56:53 UTC (rev 82074)
@@ -100,6 +100,9 @@
This will raise a ResponseError or return the JSON result dict
"""
+ # apply encoding if any
+ if self.__encoding:
+ request = request.encode(self.__encoding)
# start the call
try:
response = self.__transport.request(self.__host, self.__handler,
More information about the Checkins
mailing list