docker-context/scripts/otn-downloader/otn-downloader.py
def _get_request_session():
        """
        Get prepared session object with *required* user-agent and accepted oraclelicense

        :return: Session
        """
        _sess = Session()

        _sess.headers.update({'User-Agent': 'Mozilla - OTN-Downloader/1.0'})
        _sess.cookies.update({'oraclelicense': 'yep, why not'})

        return _sess

        Get prepared session object with *required* user-agent and accepted oraclelicense

        :return: Session
        
Get prepared session object with *required* user-agent and accepted oraclelicense
Get prepared session object with * required * user - agent and accepted oraclelicense
def _get_request_session():
        _sess = Session()
        _sess.headers.update({'User-Agent': 'Mozilla - OTN-Downloader/1.0'})
        _sess.cookies.update({'oraclelicense': 'yep, why not'})
        return _sess
def _get_request_session ( ) : _sess = Session ( ) _sess . headers . update ( { 'User-Agent' : 'Mozilla - OTN-Downloader/1.0' } ) _sess . cookies . update ( { 'oraclelicense' : 'yep, why not' } ) return _sess
Get prepared session object with *required* user-agent and accepted oraclelicense
Get prepared session object with * required * user - agent and accepted oraclelicense
"""
        Get prepared session object with *required* user-agent and accepted oraclelicense

        :return: Session
        """
None