-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amazon and redirects #3
Comments
Can you give me some more details? Which method are you using - I think it's a little involved to handle this situation, as if it's an external URL it doesn't make sense to treat it as an Amazon request. But if it's redirecting to another key on the same bucket, a whole new request has to be generated and signed; presumably simply getting the new URL won't work without authentication. |
Sorry, I should have sent an example from the start.
Gives:
The redirect URL is just the same URL, so not sure why it's even replying with 301... |
Ah @tmikaeld I see now. I believe you just need to change the endPoint setting to |
You are correct sir, now it works! Thanks 👍 |
When I used an EU region for Amazon, it did a 301 redirect response which was followed automatically in Deno but since you only accept 200 response, I'm not sure if it should be a setting or not?
The text was updated successfully, but these errors were encountered: