I'm working on an application that uses WinInet to make HTTP connections and am trying to interface with the VLC HTTP Server. I'm running into the issue that WinInet does not allow HTTP Authentication when the username is missing. I took the following text from
this link:
The value of lpszUsername is the address of a null-terminated string that contains the name of the user who is logging on. If this parameter is NULL, the function uses an appropriate default, except for HTTP. A NULL parameter in HTTP causes the server to return an error.
This is obviously causing problems. From some experimentation that I've done, it seems like the VLC HTTP Server will reject any requests with a username that is not blank. Is there a way to make the server accept any requests that have the correct password, regardless of username (i.e., ignore the username entirely)?