def session(self, base_url='http://baseserver'):
    ' \n        mount it to session object\n        any request will start using URL given\n        by prefix base_url\n        '
    session = RequestsSession()
    session.mount(prefix=base_url, adapter=RequestWSGIAdapter(self))
    return session
mount it to session object
any request will start using URL given
by prefix base_url
def session(self, base_url='http://baseserver'):
    ' \n        mount it to session object\n        any request will start using URL given\n        by prefix base_url\n        '
    session = RequestsSession()
    session.mount(prefix=base_url, adapter=RequestWSGIAdapter(self))
    return session