def get_request_url(self, method='GET', path=None, params=None,
                        headers=None, data=None, files=None, auth=None):
        url = self.__get_url_for_path(path)

        headers = dict(headers or {})
        if [header.lower() for header in headers] not in 'host':
            headers['Host'] = urlparse.urlparse(self.endpoint).netloc

        p_request = self.__log_and_prepare_request(method, url, params, data,
                                                   files, headers, auth)
        return p_request.url
dataset/ETHPy150Open boto/requestbuilder/requestbuilder/service.py/BaseService.get_request_url/swapped operands of `not in`