Aws::s3 Library, version |
![]() ![]() |
Aws::s3 Library, version |
Aug 1 2009, 09:14 PM
Post
#1
|
|
|
|
Hi,
On page 143 of the book, it is stated: "You may experience problems using 0.4.0 of the AWS::S3 library..." Would you tell us which version(s) don't have problems? FYI: I am using aws-s3-0.6.2 and I emulated the usage of s3backup.rb from the bottom of page 142 and didn't experience anything disagreeable. Regards, Tena Sakai |
|
|
|
Aug 2 2009, 05:40 PM
Post
#2
|
|
|
|
The problem with the AWS::S3 library referred to on page 143 (Content-Length Workaround) only affected users who interact with S3 via web proxies that are fussy about the PUT requests they relay. Namely, proxies that do not accept PUT requests without a Content-Length header.
In my book, I propose a workaround for the issue that causes AWS::S3 to include this header with Bucket PUT requests. I just checked the latest code for AWS::S3 on GitHub and it looks like this problem remains. However, it will not affect you unless you are accessing S3 from behind a troublesome proxy. If it does affect you, the 1-line fix mentioned in the book should fix it. Regards, James This post has been edited by JamesMurty: Aug 2 2009, 05:41 PM |
|
|
|
Aug 3 2009, 08:47 AM
Post
#3
|
|
|
|
Many thanks, James.
Regards, Tena Sakai The problem with the AWS::S3 library referred to on page 143 (Content-Length Workaround) only affected users who interact with S3 via web proxies that are fussy about the PUT requests they relay. Namely, proxies that do not accept PUT requests without a Content-Length header. In my book, I propose a workaround for the issue that causes AWS::S3 to include this header with Bucket PUT requests. I just checked the latest code for AWS::S3 on GitHub and it looks like this problem remains. However, it will not affect you unless you are accessing S3 from behind a troublesome proxy. If it does affect you, the 1-line fix mentioned in the book should fix it. Regards, James |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 06:57 PM |