'Modify the request headers to add the appropriate
Authorization header.'

def request(self, method, request_uri, headers, content):

    headers['authorization'] = ('Basic    ' + base64.b64encode(('%s:%s' % self.credentials)).strip())
