Michal Ludvig skrev 2010-11-02 09:16:

>> * The 'put' command should have a flag for checking md5/file size before
>> uploading, like sync. I hacked it like this:
> What's the difference between /sync/ and /put/ then?

'sync' checks for delete files as well (and requires lots of memory).

>> * There is a bug in S3.send_request() which causes timeout/hang if there
>> is no body in the server response. Fix like this:
>>
>> def send_request(self, request, body = None, retries = _max_retries):
>> ...
>>                     if method_string != "HEAD":
>>                             response["data"] =  http_response.read()
> What Python version have you got? HTTPResponse.read() returns an empty
> string if there is no body in the server response, for instance for HEAD
> requests. I.e. "works for me"...

2.6.4. Must be something here then. I didn't investigate it much, but it 
definately blocked around there somewhere unless I added that check.

Keep up the good work!


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to