smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
62 stars 26 forks source link

[http] Better handle invalid 401 response #549

Closed J-N-K closed 11 months ago

J-N-K commented 11 months ago

It has been discovered that some servers respond with a 401 without WWW-Authenticate header if the original request was sent with creentials. While this is a protocol violation, the user can't fix it, because it is server-side. This PR handles these edge cases more gracefully.