code: def custom(self, method, path_append=None, headers=None, **kwargs):
          
  
          if headers:
              self._session.headers.update(headers)
  
          if path_append is not None:
              try:
                  self._url = self._url_builder.get_appended_custom(path_append)
              except InvalidUsage:
                  raise InvalidUsage("Argument 'path_append' must be a string in the following format: "
                                     "/path-to-append[/.../...]")
  
          return self._get_response(method, **kwargs)
docs: Creates a custom request
  
          :param method: HTTP method
          :param path_append: (optional) append path to resource.api_path
          :param headers: (optional) Dictionary of headers to add or override
          :param kwargs: kwargs to pass along to :class:`requests.Request`
          :return:
              - :class:`pysnow.Response` object