The toolbelt provides specialized session classes in the requests_toolbelt.sessions
module.
requests_toolbelt.sessions
0.7.0
Many people have written Session subclasses that allow a "base URL" to be specified so all future requests need not specify the complete URL. To create one simplified and easy to configure version, we've added the requests_toolbelt.sessions.BaseUrlSession
object to the Toolbelt.
requests_toolbelt.sessions.BaseUrlSession