code: def send_response(self, transaction):
          
          if transaction.cacheHit is False:
              """
              handling response based on the code
              """
              logger.debug("handling response")
              self._handle_response(transaction)
          return transaction
docs: updates the cache with the response if there was a cache miss
  
          :param transaction:
          :return: