Forum: Ruby on Rails redirect_to with different HTTP error status

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniel (Guest)
on 2006-03-12 12:31
Hi all,

when using redirect_to rails redirects and automatically sets the HTTP
status to 301.  Is there a way to change this?  I'd like to redirect
with the HTTP status 302 (moved permanently).

Any help would be greatly appreciated!

This topic is locked and can not be replied to.