bugfix
This commit is contained in:
parent
ee1c8ceb5f
commit
959be94c93
@ -16,6 +16,7 @@ class proxyProcessor(BaseProcessor):
|
|||||||
te = self.run_ns['tmpl_engine']
|
te = self.run_ns['tmpl_engine']
|
||||||
txt = await te.render(url,**ns)
|
txt = await te.render(url,**ns)
|
||||||
data = json.loads(txt)
|
data = json.loads(txt)
|
||||||
|
print('proxyProcessor: data=', data)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
async def datahandle(self,request):
|
async def datahandle(self,request):
|
||||||
@ -34,6 +35,8 @@ class proxyProcessor(BaseProcessor):
|
|||||||
status = res.status,
|
status = res.status,
|
||||||
body = body
|
body = body
|
||||||
)
|
)
|
||||||
|
print('proxy: datahandle() finish', self.retResponse)
|
||||||
|
|
||||||
|
|
||||||
def setheaders(self):
|
def setheaders(self):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user