pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

reading requests body in middleware

Open salva-imm opened this issue 6 years ago • 1 comments

  • pulsar==2.0.2:
  • python 3.6:
  • ubuntu:

hi , im trying to write custom middlware (im using json-rpc feature of pulsar) inside __call__ method i tried to get response and finally tried environ['wsgi.input'] but i couldnt ..

what is the right way of doing this?

salva-imm avatar Dec 10 '19 19:12 salva-imm

finally i figured it out : ) i should edit JSONRpc __call__ method, instead of Wsgi

salva-imm avatar Dec 10 '19 22:12 salva-imm