def make_refresh_token_request_headers(self):
        """Generating specific headers only for refreshing access key API call."""
        authorization_header_value = base64.b64encode('{0}:{1}'.format(self.email, self.password).encode())
        headers = {
            'Authorization': 'Basic-Cloud {encoded_header}'.format(encoded_header=authorization_header_value.decode('ascii')),
            'x-mc-app-id': self.app_id,
            'Content-Type': 'application/json',
            'x-mc-api-version': '2014.6.1'
        }
        return headers
Generating specific headers only for refreshing access key API call.
Solutions/MimecastAudit/Data Connectors/Helpers/request_helper.py