Beispiel #1
0
	def __init__(self, url, response, timestamp=None):
		if not timestamp:
			timestamp = datetime.datetime.now()
		if not is_lazy_url(url, ignore=True):
			url = LazyUrl(url)
	
		is_response(response)

		self.url = url
		self.response = response
		self.timestamp = timestamp

		make_get_has_header_methods_for_obj_with_response(self)