Files
python-keystoneclient/keystoneclient
Jamie Lennox 1893703b4f Session Adapters
A Session is a global object that can be shared around. There are
however many variables (those passed to session.request) that are
specific to the client that will be using that session. These often need
to be set for every request going through a client.

For this purpose we have a Session Adapter. An adapter is like a
view on a session. Where the session maintains very global state the
adapter maintains state relevant to a specific usage of a session. These
might be things like User-Agent which wants to be set per client using
the session, or possibly even auth plugins if we share a common session
object amongst a number of clients with different plugins.

Almost anything that gets passed to a Session.request() call is suitable
to go into an adapter (the exceptions are essentially the body data and
method which only makes sense per call)

Implements: blueprint session-propagation
Change-Id: I100c791806674213d3cdb5389d4b0a1cf88c82dd
2014-06-25 10:03:32 +10:00
..
2014-06-18 19:12:39 -05:00
2014-02-08 22:22:08 +08:00
2014-06-19 10:46:07 +10:00
2012-09-29 16:03:23 -07:00
2014-06-25 10:03:32 +10:00
2014-06-18 19:12:39 -05:00
2014-05-06 10:21:30 +10:00
2014-06-19 10:46:07 +10:00
2014-06-25 10:03:32 +10:00
2014-05-03 09:54:39 +02:00
2014-02-08 22:22:08 +08:00
2014-02-08 22:22:08 +08:00
2014-05-06 10:21:30 +10:00
2014-05-23 13:36:02 +10:00