Very clear! :)
Many thanks !!
Thierry
--
https://www.ulthar.net -- http://pyams.readthedocs.io
Le jeu. 12 nov. 2020 à 21:30, Michael Merickel a
écrit :
> Webob "request" objects are semi-ephemeral in the context of WSGI. Pyramid
> creates one while processing, and if you're using
Webob "request" objects are semi-ephemeral in the context of WSGI. Pyramid
creates one while processing, and if you're using pyramid_retry then it'll make
a new one for each attempt. The "environ", however, is one-per WSGI request and
state you put in there will survive for the entire WSGI
Hi,
When we have to store custom information about current request, we can use
it's properties, attributes or environment (or even annotations).
What is the correct usage of each of them, and is there any benefit of
using one of them against the others?
Best regards,
Thierry
--