triniwiz / nativescript-downloader

Apache License 2.0
32 stars 18 forks source link

Android ignores HTTP errors #29

Open matecode opened 5 years ago

matecode commented 5 years ago

Even if the server returns a 401 (in my test scenario), the download is returned as completed and finished. The response body is then saved in the file given as the target file from options. This is a wrong behaviour in my mind.

I think this misbehaviour is coming from the underlying fancy-downloader library.

Which platform(s) does your issue occur on?

matecode commented 5 years ago

The error is because a wrong implementation in fancy-downloader, see https://github.com/triniwiz/fancydownloader/issues/1