PDA

View Full Version : Do I have to add "http://" to load a page



Nirvana
23rd January 2016, 00:45
Whenever I try to load a page with QWeb, it doesn't load the page if I don't add http:// at the begining. As some sites uses "https" I can't really know how to handle this situation. How can I load pages without adding http or https at the beginning?

anda_skoa
23rd January 2016, 10:17
The web engine needs to know which protocol to use to connect to the server.

So if your input does not have any protocol, you could first try https and if that fails try http.

Cheers,
_