code: def _url_parts(self, url_suffix, data, content_type):
          
          url = self.base_url + url_suffix
          send_data = data
          if content_type == ContentType.json:
              send_data = json.dumps(data)
          headers = {
              'Content-Type': content_type,
              'User-Agent': self.user_agent_str,
          }
          if self.auth:
              headers['Authorization'] = self.auth.get_auth()
          return url, send_data, headers
docs: Format the url data based on config_type.
          :param url_suffix: str URL path we are sending a GET/POST/PUT to
          :param data: object data we are sending
          :param content_type: str from ContentType that determines how we format the data
          :return: complete url, formatted data, and headers for sending