-move log file URL logic to common.Utils
-make retrieve_logs.cgi use Location header instead of Refresh; this works with XmlHttpRequests
-small fix to JsonRpcProxy to show better error data in some cases



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1860 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/retrieve_logs.cgi b/tko/retrieve_logs.cgi
index 55496bc..6792d69 100755
--- a/tko/retrieve_logs.cgi
+++ b/tko/retrieve_logs.cgi
@@ -4,7 +4,7 @@
 
 page = """\
 Content-Type: text/plain
-Refresh: 0; url=%s\r\n\r
+Location: %s\r\n\r
 """
 
 # Get access to directories