1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-13 13:59:06 +02:00
Moritz Haase 4b56d428ff pkg/updates: Fix resource availability check in Updater
When trying to download an update, a 'Could not find any binary at ...' error
message is shown erroneously. This happens since when checking the availability,
a response code of 403 ('Forbidden') instead of 200 ('OK') is expected. Since
'http.Head()' handles redirects automatically, there is no need to also accept
3xx status codes.

Fixes #1450.
2022-03-18 22:19:45 +11:00
..
2022-03-17 19:13:40 +11:00
2022-03-17 19:13:40 +11:00
2021-04-20 18:34:47 +10:00
2022-03-17 19:13:40 +11:00
2022-03-17 19:13:40 +11:00
2021-09-16 21:38:43 +08:00
2021-11-07 13:32:36 +11:00
2022-03-17 19:13:40 +11:00