I am in the process of implementing a small web server in my program. It is relatively simple - you only need to serve raw html files and javascript.
I have some asynchronous network code that I can use to get basic plumbing. But are there any libraries available that can understand http?
I just need to parse the HTTP request in order to extract the path, request string, mail variables and respond accordingly.
No SSL or cookies or authentication required.
I tried a couple of web server libraries, but was not satisfied, mainly because they use workflows, which make the interaction with the user interface of the program annoying.
Ideally, I just want a library that would require some http \ stream query string and return me a structure or object.
source
share