I'm running some code as part of the httpRequestBegin pipeline in Sitecore to redirect if the URL is of a particular type.

I know that I need to use the [Sitecore WebUtil.Redirect() method](http://oscarcao.com/blog/2013/05/27/the-proper-way-of-handling-redirects-in-sitecore-cms) but this is redirecting with a status of 302. Is there any way I can do this as a 301 (permanent) redirect?