Accept authentication challenge without realm
Submitted by Arnout Vandecappelle
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#588660)
Description
I have a stupid IP camera from Arecont that gives the following reply on an unauthenticated request:
HTTP/1.0 401 Unauthorized\r\n
WWW-Authenticate: Basic\r\n
<EOF>
Since the WWW-Authenticate challenge doesn't contain any parameters (not even the required realm parameter), libsoup doesn't accept it as a challenge.
Patch follows.
Version: 2.24.x