def __init__(self, stream, digesters, hash_algs, src_url, logger):
    if not digesters:
      raise CommandException('HashingFileUploadWrapper used with no digesters.')
    elif not hash_algs:
      raise CommandException('HashingFileUploadWrapper used with no hash_algs.')

    self._orig_fp = stream
    self._digesters = digesters
    self._src_url = src_url
    self._logger = logger
    self._seek_away = None

    self._digesters_previous = {}
    for alg in self._digesters:
      self._digesters_previous[alg] = self._digesters[alg].copy()
    self._digesters_previous_mark = 0
    self._digesters_current_mark = 0
    self._hash_algs = hash_algs
Going to a url for an event that doesn't exist should return 404.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/hashing_helper.py/HashingFileUploadWrapper.__init__--crossover with--dataset/ETHPy150Open wreckage/django-happenings/tests/integration_tests/test_detail_view.py/EventDetailViewTest.test_detail_view_with_no_events