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:

https://github.com/expressjs/express/blob/master/lib/request.js#L288

Does anybody know if I can do something like this with MHD? I searched some
function or flag, but I couldn't find that.

Thank you!

-- 
Silvio Clécio

Reply via email to