Handling Request Redirections Automatically

Dec 13, 2007 at 8:57 PM
Thanks for making a great library!

As mentioned in the S3 API documentation, redirections of requests need to be handled by the client:

“Amazon S3 uses the Domain Name System (DNS) to route requests to facilities that can process them. This system works very effectively. However, temporary routing errors can occur. If a request arrives at the wrong Amazon S3 location, Amazon S3 responds with a temporary redirect that tells the requestor to resend the request to a new endpoint.” (Amazon Simple Storage Service Developer Guide API Version 2006-03-01”, page 31)

I notice that the Windows Forms example handles redirects at the client level. See method UploadFile() for one example. Would it be possible to handle this behavior in ThreeSharp instead?