src/hp/views.py
changeset 60 4a0bfe0002b1
parent 45 316a0101512e
child 62 0cdd0bb4141c
--- a/src/hp/views.py	Fri Nov 16 02:04:40 2012 +0100
+++ b/src/hp/views.py	Fri Nov 16 09:25:07 2012 +0100
@@ -82,8 +82,9 @@
     r = requests.request(request.method, settings.KC_URL + path, data=request.POST, params=request.GET)
     
     logger.debug("Proxy r url : " + r.url)
-    logger.debug("Proxy r method : " + r.method)
-    logger.debug("Proxy r status : " + r.status)
+    logger.debug("Proxy r method : " + r.request.method)
+    logger.debug("Proxy r full url : " + r.request.full_url)
+    logger.debug("Proxy r status : " + r.status_code)
     logger.debug("Proxy r text : " + r.text)
         
     return HttpResponse(content=r.text, content_type='application/json;charset=UTF-8')