I am currently trying to add a http layer to the application starting from the 1.4 branch. My purpose is to control me-tv-server via a web browser (manage recordings at least).
The new http layer would serve a kind of form to manage recordings, in addition to encapsulate the existing reception/emission of xml requests. The benefits would be the ability to receive request directly from a web browser (which cannot communicate with the current IP layer).
I will introduice a new package dependancy into the application : http://
- As far as I see, the request handle must be refactored since it strongly depends on a socket descriptor.
- The microhttpd is to be deamonized so I can also spare the NetworkThread.
- HTTP protocol in the server implies to add/parse header in existing client requests (console and gtk client but all can be done in the common libs and the glib can help me).
In a word this is few work for a web browser compliance.
I believe I will release this in a branch in a couple of weeks if you do no see any objection. In the meantime, I'd like to have feedback on technical decision I could have made and described above.