HttpServer.cpp example returns error when attempting to connect
The error I'm getting upon trying to reach the server with my browser is:
Did not find file: /
Error: Returning from a request handler without responding or attaching an abort handler is forbidden!
Now I know that there has been an issue regarding the same error in the past, however the answer is mostly vague and does not fix the problem. I know that the JavaScript example is working just fine, however I would like this C++ version to work properly as well. How could I make it work?
Looks like the file not being found makes the server not respond
What file? At no point have I specified "/" as any kind of path. The root directory of the server is a folder inside of my solution's main directory.
Looks like that example is broken. I haven't looked at it in a long while.
I'd be grateful if you managed to have a look at it, thank you.
This example hasn't been updated or finished, ever. So consider it a broken example that's not supposed to work.