Move redirect check before body check -- a redirect won't have a body