Is it intentional or is it a typo? `http.res`

BTW what are these comments good for, when the are only saying again what is in the "case" statement?