smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
59 stars 23 forks source link

[http] Better handle invalid 401 response #549

Closed J-N-K closed 6 months ago

J-N-K commented 6 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.