def add_cookie(self, cookie):
		""" Add new cookie (or replace if there is cookie with the same name already)

		:param cookie: cookie to add
		:return: None
		"""
		if self.__ro_flag:
			raise RuntimeError('Read-only cookie-jar changing attempt')
		self.__cookies[cookie.name()] = cookie