I'm developing an LSP and I need to know what exact URL is.
For example, let's say user is using Firefox to browse pages. I want to get the page full URL whether it is HTTP or HTTPS. How can I do this?
I can get address by fetching the HTTP request header (Request Line and Host
); however the protocol (http,https) cannot be figured out this way.