Fix maybe_redirect 301 response.