1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
So to hopefully assist someone else who runs into this. It turns out that when using the .Net API to add a redirect, you DO NOT add the metadata manually via a putRequest2.Metadata.Add("Website-Redirect-Location", URL) call as the documentation would lead you to believe.
Instead, add the WebsiteRedirectLocation = URL option to the PutObjectRequest. This works just fine.
Hope this saves the next person some time.
con risposta 5 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 10 mesi fa