Access to WSGI environ in callbacks

Hi All

Not sure if I am missing something but I can’t seem to find a way to access the WSGI environ dict in a callback. (The first argument to a WSGI app/function) It seems that with the ctx variable you have access to some of the stuff that is in the environ (e.g. cookies and headers) but not the full environ dict.

Is there a way to do this?

Regards

Hello @thakadu,

To see other things, you can look at the flask.request inside a callback, as long as its not a background callback.

Thank you @jinnyzor, I do see the full environ inside flask.request.environ.

Regards

1 Like