I searched through boto-users, boto-dev, and the issues and didn't
find any references to this problem.
I use s3sync (
http://www.s3sync.net/wiki) to sync some files to s3.
The keys it creates start with / (eg. /wals/db2/...).
I'm able to choose a bucket and list keys but when I try to delete a
key that starts with a leading / the request seems to be wrong. I
turned on debugging and saw the DELETE request was going to a url like
this: /mybucket/wals/db2/2010-09-06-030002/00000004000003AA0000004D.
If the key starts with '/' shouldn't the url be /mybucket//wals/
db2/2010-09-06-030002/00000004000003AA0000004D?
I looked into the code a bit and, in boto/connection.py, I found
AWSConnection.get_path. That seems to be removing "extra" slashes
that, in my case, are very important. Shouldn't keys be totally
untouched when it comes to url creation? Even though they may look
like urls, they're really just opaque strings.
Has anyone else ever run into this? It's a little annoying when the
result of a bucket.list() can't be passed directly into a
bucket.delete_key(). Should this be posted in the issue tracker
(google code or github?)?
Jason