def redirect_to_digest_version(env)
      url = URI(computed_asset_host || @request.url)
      url.path = "#{@prefix}/#{digest_path}"

      headers = { 'Location'      => url.to_s,
                  'Content-Type'  => Rack::Mime.mime_type(::File.extname(digest_path)),
                  'Pragma'        => 'no-cache',
                  'Cache-Control' => 'no-cache; max-age=0' }

      [self.class.redirect_status, headers, [redirect_message(url.to_s)]]
    end
def redirect_to_digest_version(env)
      url = URI(computed_asset_host || @request.url)
      url.path = "#{@prefix}/#{digest_path}"

      headers = { 'Location'      => url.to_s,
                  'Content-Type'  => Rack::Mime.mime_type(::File.extname(digest_path)),
                  'Pragma'        => 'no-cache',
                  'Cache-Control' => 'no-cache; max-age=0' }

      [self.class.redirect_status, headers, [redirect_message(url.to_s)]]
    end
Sends a redirect header back to browser