예제 #1
0
 def patch(self, url: Text) -> RequestWithOptionalArgs:
     self.__t_step.request = TRequest(method=MethodEnum.PATCH, url=url)
     return RequestWithOptionalArgs(self.__t_step)
예제 #2
0
 def delete(self, url: Text) -> RequestWithOptionalArgs:
     self.__t_step.request = TRequest(method=MethodEnum.DELETE, url=url)
     return RequestWithOptionalArgs(self.__t_step)
예제 #3
0
 def options(self, url: Text) -> RequestWithOptionalArgs:
     self.__t_step.request = TRequest(method=MethodEnum.OPTIONS, url=url)
     return RequestWithOptionalArgs(self.__t_step)
예제 #4
0
 def head(self, url: Text) -> RequestWithOptionalArgs:
     self.__t_step.request = TRequest(method=MethodEnum.HEAD, url=url)
     return RequestWithOptionalArgs(self.__t_step)