https://bugs.winehq.org/show_bug.cgi?id=57794
Bug ID: 57794 Summary: WinHTTP implementation assumes HTTP response has a status text Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: wine@sai.navy Distribution: ---
When the HTTP server only provides a status code, e.g. 'HTTP/1.0 200', Wine's WinHttpReceiveResponse() fails with ERROR_WINHTTP_INVALID_SERVER_RESPONSE.
The exact problem seems to be here: https://github.com/wine-mirror/wine/blob/55a3a7ee77844258fb480c3c11747893fc6...
This is incongruent with Microsoft's WinHTTP implementation and also generally a weird requirement that doesn't match real-world usage.