jeffreydwalter / arlo-go

WIP - (BETA) - Go package for interacting with Netgear's Arlo camera system.
MIT License
42 stars 8 forks source link

Update DownloadFile method to use generic http.Get() #4

Closed jryd closed 5 years ago

jryd commented 5 years ago

We do this to avoid the customised http client setting incorrect headers (which are only needed for Arlo webiste) when fetching the files from Amazon S3.

This resolves #3 where you will get 404 errors when attempting to download recordings, this (based on fairly little research) seems to stem from the fact that the request is sent with the wrong headers. Using a bare http.Get() call works perfectly.

jeffreydwalter commented 5 years ago

Good catch. Thanks again!