def setUrl (self, urltmp):
if not (urltmp.startswith("http://") or urltmp.startswith("https://")):
urltmp = "http://" + urltmp
self.__variablesGET=VariablesSet()
self.schema,self.__host,self.__path,self.__params,variables,f=urlparse(urltmp)
self._headers["Host"]=self.__host
if variables:
self.__variablesGET.parseUrlEncoded(variables)
############### PROXY ##################################
评论列表
文章目录