code: protected void handleReplayRedirect(WaybackRequest wbRequest,
  			HttpServletResponse httpResponse,
  			CaptureSearchResults captureResults, CaptureSearchResult closest)
  			throws BetterRequestException {
  		if (wbRequest.getReplayTimestamp().startsWith(closest.getCaptureTimestamp()) && !wbRequest.isMementoTimegate()) {
  			// Matching
  			return;
  		}
  
  		captureResults.setClosest(closest);
  
  		//TODO: better detection of non-redirect proxy mode?
  		// For now, checking if the betterURI does not contain the timestamp, then we're not doing a redirect
  		String datespec = ArchivalUrl.getDateSpec(wbRequest, closest.getCaptureTimestamp());
  		String betterURI = getUriConverter().makeReplayURI(datespec, closest.getOriginalUrl());
  
  		// if spare-redirect-for-embeds is on, render embedded resource in-place with Content-Location header pointing
  		// exact replay URL (it is disabled for timegate requests)
  		// XXX set Content-Location header somewhere else.
  		if (fixedEmbeds && !wbRequest.isMementoTimegate() && isWaybackReferer(wbRequest, this.getReplayPrefix())) {
  			httpResponse.setHeader("Content-Location", betterURI);
  			return;
  		}
  
  		boolean isNonRedirectProxy = !betterURI.contains(closest.getCaptureTimestamp());
  
  		if (!isNonRedirectProxy) {
  			throw new BetterReplayRequestException(closest, captureResults);
  		}
  	}
docs: if capture {@code closest} is of timestamp different from the one requested,
  redirect to exact Archival-URL for {@code closest}.
  Memento Timegate request is always redirected regardless of timestamp.
  Needs better method name.
  @param wbRequest
  @param httpResponse
  @param captureResults
  @param closest
  @throws BetterRequestException