Redirect permanently 301 response

Use HTTP::respond instead of HTTP:redirect to redirect to 301 (Permanent Redirect) with a suitable status code and Location header