[Inteproxy-commits] r130 - in trunk: . inteproxy
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 2 15:08:50 CEST 2008
Author: bh
Date: 2008-06-02 15:08:48 +0200 (Mon, 02 Jun 2008)
New Revision: 130
Modified:
trunk/ChangeLog
trunk/inteproxy/proxycore.py
trunk/inteproxy/transcoder.py
Log:
* inteproxy/transcoder.py (TranscoderRequest.debug_log_request),
inteproxy/proxycore.py (InteProxyHTTPRequestHandler.read_client_request):
Fix NameErrors when processing POST requests.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-05-16 14:10:27 UTC (rev 129)
+++ trunk/ChangeLog 2008-06-02 13:08:48 UTC (rev 130)
@@ -1,3 +1,9 @@
+2008-06-02 Bernhard Herzog <bh at intevation.de>
+
+ * inteproxy/transcoder.py (TranscoderRequest.debug_log_request),
+ inteproxy/proxycore.py (InteProxyHTTPRequestHandler.read_client_request):
+ Fix NameErrors when processing POST requests.
+
2008-05-16 Bernhard Reiter <bernhard at intevation.de>
* inteproxy/main.py(build_opener()): Removed debug print statement.
Modified: trunk/inteproxy/proxycore.py
===================================================================
--- trunk/inteproxy/proxycore.py 2008-05-16 14:10:27 UTC (rev 129)
+++ trunk/inteproxy/proxycore.py 2008-06-02 13:08:48 UTC (rev 130)
@@ -181,7 +181,7 @@
# FIXME: check whether length bytes were read
body = self.rfile.read(length)
self.log_debug("body of client request (%d bytes):\n%r",
- length, data)
+ length, body)
else:
self.log_debug("client request has no body")
Modified: trunk/inteproxy/transcoder.py
===================================================================
--- trunk/inteproxy/transcoder.py 2008-05-16 14:10:27 UTC (rev 129)
+++ trunk/inteproxy/transcoder.py 2008-06-02 13:08:48 UTC (rev 130)
@@ -51,7 +51,7 @@
for header, value in self.headers.items():
log_function("header: %s:%r", header, value)
if self.body:
- log_function("body: %r", body)
+ log_function("body: %r", self.body)
else:
log_function("no body")
More information about the Inteproxy-commits
mailing list