I would just do a `if method != 'HEAD'` after the for because it's more readable in my opijnion.