(self, session, username, password)
Post username/password to authenticate the HTTP session.

        Args:
            session: Instance of requests.Session.
            username: User username.
            password: User password.
Post username/password to authenticate the HTTP session.
Post username / password to authenticate the HTTP session .
def _authenticate_session(self, session, username, password):
        """Post username/password to authenticate the HTTP session.

        Args:
            session: Instance of requests.Session.
            username: User username.
            password: User password.
        """
        # Do a POST to the login handler to set up the session cookies
        data = {'username': username, 'password': password}
        session.post('{0:s}/login/'.format(self._host_uri), data=data)
def _authenticate_session ( self , session , username , password ) : # Do a POST to the login handler to set up the session cookies data = { 'username' : username , 'password' : password } session . post ( '{0:s}/login/' . format ( self . _host_uri ) , data = data )