code: def http_request(self,
  			verb,
  			uri,
  			data=None,
  			headers=None,
  			files=None,
  			response_format=None,
  			is_rdf = True,
  			stream = False
  		):
  		'''
  		Primary route for all HTTP requests to repository.  Ability to set most parameters for requests library,
  		with some additional convenience parameters as well.
  		Args:
  			verb (str): HTTP verb to use for request, e.g. PUT, POST, GET, HEAD, PATCH, etc.
  			uri (rdflib.term.URIRef,str): input URI
  			data (str,file): payload of data to send for request, may be overridden in preperation of request
  			headers (dict): optional dictionary of headers passed directly to requests.request
  			files (dict): optional dictionary of files passed directly to requests.request
  			response_format (str): desired response format for resource's payload, e.g. 'application/rdf+xml', 'text/turtle', etc.
  			is_rdf (bool): if True, set Accept header based on combination of response_format and headers
  			stream (bool): passed directly to requests.request for stream parameter
  		Returns:
  			requests.models.Response
  		'''
  		if is_rdf:
  			'''
  			Acceptable content negotiated response formats include:
  				application/ld+json (discouraged, if not prohibited, as it drops prefixes used in repository)
  				application/n-triples
  				application/rdf+xml
  				text/n3 (or text/rdf+n3)
  				text/plain
  				text/turtle (or application/x-turtle)
  			'''
  			if verb == 'GET':
  				if not response_format:
  					response_format = self.repo.default_serialization
  				if headers and 'Accept' not in headers.keys():
  					headers['Accept'] = response_format
  				else:
  					headers = {'Accept':response_format}
  		if type(uri) == rdflib.term.URIRef:
  			uri = uri.toPython()
  		logger.debug("%s request for %s, format %s, headers %s" %
  			(verb, uri, response_format, headers))
  		session = requests.Session()
  		request = requests.Request(verb, uri, auth=(self.repo.username, self.repo.password), data=data, headers=headers, files=files)
  		prepped_request = session.prepare_request(request)
  		response = session.send(prepped_request,
  			stream=stream,
  		)
  		return response