Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

reading requests body in middleware #318

Open
salva-imm opened this issue Dec 10, 2019 · 1 comment
Open

reading requests body in middleware #318

salva-imm opened this issue Dec 10, 2019 · 1 comment

Comments

@salva-imm
Copy link

  • 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
Copy link
Author

salva-imm commented Dec 10, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant