Support header-only response without CRLF CRLF
Submitted by Arnout Vandecappelle
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#588658)
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 it doesn't end with \r\n\r\n, soup errors out with an IO error.
Patch follows.
Version: 2.24.x