[Inteproxy-commits] r176 - in trunk: . inteproxy

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 26 16:59:08 CET 2008


Author: bh
Date: 2008-11-26 16:59:07 +0100 (Wed, 26 Nov 2008)
New Revision: 176

Modified:
   trunk/ChangeLog
   trunk/inteproxy/proxycore.py
Log:
* inteproxy/proxycore.py
(InteProxyHTTPRequestHandler.handle_proxy_request)
(InteProxyHTTPRequestHandler.open_http_connection): Move debug
print of the response into open_http_connection.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-11-25 20:56:17 UTC (rev 175)
+++ trunk/ChangeLog	2008-11-26 15:59:07 UTC (rev 176)
@@ -1,3 +1,10 @@
+2008-11-26  Bernhard Herzog  <bh at intevation.de>
+
+	* inteproxy/proxycore.py
+	(InteProxyHTTPRequestHandler.handle_proxy_request)
+	(InteProxyHTTPRequestHandler.open_http_connection): Move debug
+	print of the response into open_http_connection.
+
 2008-11-25  Bernhard Herzog  <bh at intevation.de>
 
 	* inteproxy/proxycore.py

Modified: trunk/inteproxy/proxycore.py
===================================================================
--- trunk/inteproxy/proxycore.py	2008-11-25 20:56:17 UTC (rev 175)
+++ trunk/inteproxy/proxycore.py	2008-11-26 15:59:07 UTC (rev 176)
@@ -93,7 +93,6 @@
             self.send_error(502)
 
         if response is not None:
-            response.debug_log_message(self.log_debug)
             # check for fees and access constraints and run a dialog
             handle_fees_and_access_constraints(remote_url, response)
             self.rewrite_urls(response)
@@ -184,7 +183,7 @@
         response_message = HTTPResponseMessage(version, response.status,
                                                response.reason,
                                                response.msg, response)
-
+        response_message.debug_log_message(self.log_debug)
         return response_message
 
 



More information about the Inteproxy-commits mailing list