Extension should match both http and https.