added httpOrHttps()