The proper way to respond to redirects.