184"""forward to restkit.request"""185req=None186forainargs:187ifisinstance(a,Request):188req=a189args=[aforainargsifaisnotreq]190break191ifreqisNone:192req=self.shell.user_ns.get('req')193ifnotisinstance(req,Request):194req=Request.blank('/')195delreq.content_type196req.method=meth197198req.set_url(self.url)199resp=req.get_response(*args,**kwargs)200self.url=req.url201returnresp