delete the code which limit the protocol to http