html middleware