Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Handle Temporary Redirects (307) #167

Merged
merged 1 commit into from Jan 14, 2014
Merged

Conversation

kosmasgiannis
Copy link
Contributor

Hi there,

this small patch handles 307 Temporary Redirects (see: http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTRedirect.html).

Tested with requests to Amazon S3 to get info for a Bucket created on location EU.

Please consider rolling this to master.

Thanks

chilts added a commit that referenced this pull request Jan 14, 2014
Handle Temporary Redirects (307)
@chilts chilts merged commit 269040f into chilts:master Jan 14, 2014
@chilts
Copy link
Owner

chilts commented Jan 14, 2014

This looks really nice and clean. Thanks. Great idea for the 'redirectHost'. Many thanks.

@chilts
Copy link
Owner

chilts commented Jan 14, 2014

I just tried to re-release awssum v1.2.0, but npmjs.org is down at the moment, so will try again later.

@kosmasgiannis
Copy link
Contributor Author

Thanks for the merge and the upcoming release.

Awssum is great!

@kosmasgiannis kosmasgiannis deleted the 307redirects branch January 14, 2014 20:47
@chilts
Copy link
Owner

chilts commented Jan 15, 2014

Released v1.2 of awssum-amazon and v1.2.0 of awssum-amazon. :)

@chilts
Copy link
Owner

chilts commented Jan 15, 2014

ok, http://awssum.io/ is now also up to date.

I had to wrangle with the weird npm peerDependencies for a short while. Man, it's annoying, but I think I've got the right settings for them all now. :)

Thanks again.

Cheers,
Andy

@kosmasgiannis kosmasgiannis mentioned this pull request Jan 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants