Handle server errors correctly.
Handle server errors correctly.

Instead of downloading the human-readable error page, check the status
code and throw on HTTP errors.

CaptainJackJJ/SmpUpdater,bristol-instruments/winsparkle,drizt/winsparkle,Herve-M/winsparkle,dsuess/winsparkle,nickdademo/winsparkle,nickdademo/winsparkle,dsuess/winsparkle,bristol-instruments/winsparkle,alamaison/winsparkle,artillery/winsparkle,alamaison/winsparkle,artillery/winsparkle,drizt/winsparkle,CaptainJackJJ/SmpUpdater,Herve-M/winsparkle