You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/05/21 14:39:09 UTC
svn commit: r1125687 - /incubator/libcloud/trunk/libcloud/common/base.py
Author: tomaz
Date: Sat May 21 12:39:09 2011
New Revision: 1125687
URL: http://svn.apache.org/viewvc?rev=1125687&view=rev
Log:
Fix a bug with using the incorrect URL when performing a raw request.
Modified:
incubator/libcloud/trunk/libcloud/common/base.py
Modified: incubator/libcloud/trunk/libcloud/common/base.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/common/base.py?rev=1125687&r1=1125686&r2=1125687&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/common/base.py (original)
+++ incubator/libcloud/trunk/libcloud/common/base.py Sat May 21 12:39:09 2011
@@ -379,7 +379,7 @@ class ConnectionKey(object):
# @TODO: Should we just pass File object as body to request method
# instead of dealing with splitting and sending the file ourselves?
if raw:
- self.connection.putrequest(method, action)
+ self.connection.putrequest(method, url)
for key, value in headers.iteritems():
self.connection.putheader(key, value)