def request(self, uri, data=None, method=None, headers=None):
        auth = base64.b64encode('%s:%s' % (self.username, self.password))

        if not headers:
            headers = {}

        headers['Authorization'] = 'Basic %s' % auth
        return http_request(uri, headers=headers, data=data, method=method)
Test `#nosec` and `#noqa` comments.
dataset/ETHPy150Open lepture/flask-storage/flask_storage/upyun.py/UpyunStorage.request--crossover with--dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_skip