You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/01/05 05:14:58 UTC

svn commit: r895891 - /incubator/libcloud/trunk/libcloud/base.py

Author: pquerna
Date: Tue Jan  5 04:14:56 2010
New Revision: 895891

URL: http://svn.apache.org/viewvc?rev=895891&view=rev
Log:
doc the curl debug connection

Modified:
    incubator/libcloud/trunk/libcloud/base.py

Modified: incubator/libcloud/trunk/libcloud/base.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/base.py?rev=895891&r1=895890&r2=895891&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/base.py (original)
+++ incubator/libcloud/trunk/libcloud/base.py Tue Jan  5 04:14:56 2010
@@ -192,6 +192,12 @@
 
 #TODO: Move this to a better location/package
 class LoggingHTTPSConnection(httplib.HTTPSConnection):
+  """
+  Debug class to log all HTTP(s) requests as they could be made
+  with the C{curl} command.
+
+  @cvar logfile: Path to logfile used to log curl commands
+  """
   logfile = "/tmp/libcloud.log"
 
   def _to_curl(self, method, url, body, headers):