google / googet

GooGet package manager
Apache License 2.0
97 stars 40 forks source link

Add a status code check for HTTP responses. #74

Closed ItsMattL closed 4 years ago

ItsMattL commented 5 years ago

The download and verify subcommands are failing to check the server response for non-successful status codes. This can lead to files being written containing the contents of an error page rather than the expected file content.

Fixes #72