Hello listers,
Sometimes, we need to check if the client does a request from HTTP or HTTPSÂ protocol, and then take a decision. In nginx I use it to redirect all requests from HTTP URL to the HTTPS URL.
I took a look how NodeJS does it, because it has the `protocol` property on its request object:
Does anybody know if I can do something like this with MHD? I searched some function or flag, but I couldn't find that.