Forum: Ruby on Rails redirect_to with different HTTP error status

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Db5369a923ede28cf9479beb8320cb6c?d=identicon&s=25 Daniel (Guest)
on 2006-03-12 11: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!

Thanks,
Daniel
This topic is locked and can not be replied to.