change url to https to do not get redirect response